pub enum Wrap {
Class,
Vector,
Aligned,
ClassArray,
Pair,
PairArray,
}Expand description
One level of a shape’s nesting, outermost first (walk.py’s
DEPTH_SHAPES).
Variants§
Class
A class holding the next level.
Vector
A vector (unflagged element) of the next level.
Aligned
A vector whose element, the next level, carries the align flag: the
pure-Python reader’s read_value_array.
ClassArray
An aligned vector of a class holding the next level.
Pair
A pair whose first is the next level.
PairArray
An aligned vector of pairs whose first is a class holding the next
level (read_value_array’s lambda).
Implementations§
Trait Implementations§
impl Copy for Wrap
impl Eq for Wrap
impl StructuralPartialEq for Wrap
Auto Trait Implementations§
impl Forget for Wrap
impl Freeze for Wrap
impl Move for Wrap
impl RefUnwindSafe for Wrap
impl Send for Wrap
impl Sync for Wrap
impl Unpin for Wrap
impl UnsafeUnpin for Wrap
impl UnwindSafe for Wrap
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