Trait Path

Source
pub trait Path<'a> {
    type Item: PathComponent<'a>;
    type Iter: Iterator<Item = Self::Item> + 'a;

    // Required method
    fn path(self) -> Self::Iter;
}

Required Associated Types§

Source

type Item: PathComponent<'a>

Source

type Iter: Iterator<Item = Self::Item> + 'a

Required Methods§

Source

fn path(self) -> Self::Iter

Implementations on Foreign Types§

Source§

impl<'a> Path<'a> for &'a str

Source§

type Item = &'a str

Source§

type Iter = StrSliceIter<'a>

Source§

fn path(self) -> Self::Iter

Source§

impl<'a> Path<'a> for &'a String

Source§

type Item = &'a str

Source§

type Iter = StrSliceIter<'a>

Source§

fn path(self) -> Self::Iter

Source§

impl<'a> Path<'a> for &'a Vec<String>

Source§

type Item = &'a String

Source§

type Iter = Iter<'a, String>

Source§

fn path(self) -> Self::Iter

Implementors§