pub fn with_item<I>(iter: I) -> Self
    where
        I: IntoIterator,
        I::Item: IntoComponent,
    {
        let mut content = Vec::new();

        for c in iter {
            c.write_component(&mut content);
        }

        Self { content }
    }
/// Construct a new item path.
Construct a new item path.
Construct a new item path .
pub fn with_item<I>(iter: I) -> Self
    where
        I: IntoIterator,
        I::Item: IntoComponent,
    {
        let mut content = Vec::new();
        for c in iter {
            c.write_component(&mut content);
        }
        Self { content }
    }
pub fn with_item < I > ( iter : I ) -> Self where I : IntoIterator , I :: Item : IntoComponent , { let mut content = Vec :: new ( ) ; for c in iter { c . write_component ( & mut content ) ; } Self { content } }
Construct a new item path.
Construct a new item path .
iter
I
iter
I