pub struct Field {
pub offset: u32,
pub type_id: usize,
}
Expand description
Represents the phystical properties of a field in a struct or union.
Fields§
§offset: u32
The offset, in bits, of the field.
type_id: usize
The type of the field.
Implementations§
Trait Implementations§
impl Copy for Field
Auto Trait Implementations§
impl Freeze for Field
impl RefUnwindSafe for Field
impl Send for Field
impl Sync for Field
impl Unpin for Field
impl UnwindSafe for Field
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