pub(crate) struct FieldInfo {
pub(crate) name: Ident,
pub(crate) ty: Type,
pub(crate) slot: Option<U256>,
pub(crate) base_slot: Option<U256>,
}Expand description
Information extracted from a field in the storage schema
Fields§
§name: Ident§ty: Type§slot: Option<U256>§base_slot: Option<U256>Trait Implementations§
Auto Trait Implementations§
impl Freeze for FieldInfo
impl RefUnwindSafe for FieldInfo
impl !Send for FieldInfo
impl !Sync for FieldInfo
impl Unpin for FieldInfo
impl UnwindSafe for FieldInfo
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
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 328 bytes