Struct recursion::recursive_tree::stack_machine_eval::StackMarker
source · [−]pub struct StackMarker;
Expand description
Used to mark structures that are expanded via depth first traversal and consumed via stack machine This is a zero-size marker type and has the lowest memory cost (lower than boxed pointers) at the cost of a slightly slower ‘Collapse::collapse_layers’ fn speed
NOTE: adds hard requirement, map_layer traversal order MUST be constant and arity must not change
Trait Implementations
sourceimpl Clone for StackMarker
impl Clone for StackMarker
sourcefn clone(&self) -> StackMarker
fn clone(&self) -> StackMarker
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for StackMarker
impl Debug for StackMarker
impl Copy for StackMarker
Auto Trait Implementations
impl RefUnwindSafe for StackMarker
impl Send for StackMarker
impl Sync for StackMarker
impl Unpin for StackMarker
impl UnwindSafe for StackMarker
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