pub trait IterableChildren<T> {
    type ChildrenIter<'a>: Iterator<Item = &'a T>
       where T: 'a,
             Self: 'a;

    // Required methods
    fn iter_children(&self) -> Self::ChildrenIter<'_>;
    fn is_empty(&self) -> bool;
}

Required Associated Types§

source

type ChildrenIter<'a>: Iterator<Item = &'a T> where T: 'a, Self: 'a

Required Methods§

source

fn iter_children(&self) -> Self::ChildrenIter<'_>

source

fn is_empty(&self) -> bool

Implementations on Foreign Types§

source§

impl<T> IterableChildren<T> for [T]

§

type ChildrenIter<'a> = Iter<'a, T> where T: 'a

source§

fn iter_children(&self) -> Self::ChildrenIter<'_>

source§

fn is_empty(&self) -> bool

Implementors§

source§

impl<T> IterableChildren<T> for MySlice<T>

§

type ChildrenIter<'a> = Iter<'a, T> where T: 'a