[][src]Struct shipyard_scenegraph::DescendantsBreadthFirstIter

pub struct DescendantsBreadthFirstIter<P, C> {
    pub parent_storage: P,
    pub child_storage: C,
    pub cursors: VecDeque<(EntityId, usize)>,
}

Fields

parent_storage: Pchild_storage: Ccursors: VecDeque<(EntityId, usize)>

Trait Implementations

impl<'a, P, C, T> Iterator for DescendantsBreadthFirstIter<P, C> where
    C: Get<Out = &'a Child<T>> + Copy,
    P: Get<Out = &'a Parent<T>> + Copy,
    T: 'a, 
[src]

type Item = EntityId

The type of the elements being iterated over.

Auto Trait Implementations

impl<P, C> RefUnwindSafe for DescendantsBreadthFirstIter<P, C> where
    C: RefUnwindSafe,
    P: RefUnwindSafe

impl<P, C> Send for DescendantsBreadthFirstIter<P, C> where
    C: Send,
    P: Send

impl<P, C> Sync for DescendantsBreadthFirstIter<P, C> where
    C: Sync,
    P: Sync

impl<P, C> Unpin for DescendantsBreadthFirstIter<P, C> where
    C: Unpin,
    P: Unpin

impl<P, C> UnwindSafe for DescendantsBreadthFirstIter<P, C> where
    C: UnwindSafe,
    P: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<I> IntoIterator for I where
    I: Iterator
[src]

type Item = <I as Iterator>::Item

The type of the elements being iterated over.

type IntoIter = I

Which kind of iterator are we turning this into?

impl<T> ParallelBridge for T where
    T: Send + Iterator,
    <T as Iterator>::Item: Send
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.