pub struct Struct {
pub fields: HashMap<String, Field>,
pub size: u32,
}
Expand description
Represents the physical properties of a structure.
Fields§
§fields: HashMap<String, Field>
A map of field name to field type.
size: u32
Cached size
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Struct
impl RefUnwindSafe for Struct
impl Send for Struct
impl Sync for Struct
impl Unpin for Struct
impl UnwindSafe for Struct
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