pub enum Nesting {
Var {
ix: usize,
},
MapEntry,
TupleField {
flat_ix: usize,
},
ArrayElem {
elem_len: usize,
},
}Expand description
Represents statically provided information about a storage var’s type nesting to assist with key construction.
This is similar to the pint_abi_visit::Nesting type, but only contains nesting information
relevant to key construction.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Nesting
impl RefUnwindSafe for Nesting
impl Send for Nesting
impl Sync for Nesting
impl Unpin for Nesting
impl UnwindSafe for Nesting
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