pub struct NestingExpansion<T> {
pub depth_reached: usize,
pub values: Vec<T>,
}Expand description
Result of one bounded nesting expansion.
Fields§
§depth_reached: usizeMaximum depth encountered while traversing the source.
values: Vec<T>Expanded terminal values in left-to-right order.
Trait Implementations§
Source§impl<T: Clone> Clone for NestingExpansion<T>
impl<T: Clone> Clone for NestingExpansion<T>
Source§fn clone(&self) -> NestingExpansion<T>
fn clone(&self) -> NestingExpansion<T>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<T: Debug> Debug for NestingExpansion<T>
impl<T: Debug> Debug for NestingExpansion<T>
impl<T: Eq> Eq for NestingExpansion<T>
Source§impl<T: PartialEq> PartialEq for NestingExpansion<T>
impl<T: PartialEq> PartialEq for NestingExpansion<T>
impl<T: PartialEq> StructuralPartialEq for NestingExpansion<T>
Auto Trait Implementations§
impl<T> Freeze for NestingExpansion<T>
impl<T> RefUnwindSafe for NestingExpansion<T>where
T: RefUnwindSafe,
impl<T> Send for NestingExpansion<T>where
T: Send,
impl<T> Sync for NestingExpansion<T>where
T: Sync,
impl<T> Unpin for NestingExpansion<T>where
T: Unpin,
impl<T> UnsafeUnpin for NestingExpansion<T>
impl<T> UnwindSafe for NestingExpansion<T>where
T: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more