Struct recursion::recursive_tree::RecursiveTreeRef
source · [−]pub struct RecursiveTreeRef<'a, Wrapped, Index> { /* private fields */ }
Expand description
A reference to some recursive structure with layers of partially-applied type Layer
,
where Index
is the type that Layer
is parameterized over and Wrapped
is Layer<Index>
Stored as a flat vector of layers in topological order.
Trait Implementations
sourceimpl<'a, A, O: 'a, U> Collapse<A, O> for RecursiveTreeRef<'a, U, ArenaIndex>where
&'a U: MapLayer<A, To = O, Unwrapped = ArenaIndex>,
impl<'a, A, O: 'a, U> Collapse<A, O> for RecursiveTreeRef<'a, U, ArenaIndex>where
&'a U: MapLayer<A, To = O, Unwrapped = ArenaIndex>,
fn collapse_layers<F: FnMut(O) -> A>(self, collapse_layer: F) -> A
sourceimpl<'a, A, O: 'a, U> Collapse<A, O> for RecursiveTreeRef<'a, U, StackMarker>where
&'a U: MapLayer<A, To = O, Unwrapped = StackMarker>,
impl<'a, A, O: 'a, U> Collapse<A, O> for RecursiveTreeRef<'a, U, StackMarker>where
&'a U: MapLayer<A, To = O, Unwrapped = StackMarker>,
fn collapse_layers<F: FnMut(O) -> A>(self, collapse_layer: F) -> A
Auto Trait Implementations
impl<'a, Wrapped, Index> RefUnwindSafe for RecursiveTreeRef<'a, Wrapped, Index>where
Index: RefUnwindSafe,
Wrapped: RefUnwindSafe,
impl<'a, Wrapped, Index> Send for RecursiveTreeRef<'a, Wrapped, Index>where
Index: Send,
Wrapped: Sync,
impl<'a, Wrapped, Index> Sync for RecursiveTreeRef<'a, Wrapped, Index>where
Index: Sync,
Wrapped: Sync,
impl<'a, Wrapped, Index> Unpin for RecursiveTreeRef<'a, Wrapped, Index>where
Index: Unpin,
impl<'a, Wrapped, Index> UnwindSafe for RecursiveTreeRef<'a, Wrapped, Index>where
Index: UnwindSafe,
Wrapped: RefUnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more