pub struct Layout<'input, 'item>where
'input: 'item,{
pub bit_offset: u64,
pub bit_size: Size,
pub item: LayoutItem<'input, 'item>,
}
Expand description
The layout of an item (member or padding) within a struct.
Fields§
§bit_offset: u64
The offset in bits of the item within the struct.
bit_size: Size
The size in bits of the item.
item: LayoutItem<'input, 'item>
The member or padding.
Trait Implementations§
Auto Trait Implementations§
impl<'input, 'item> Freeze for Layout<'input, 'item>
impl<'input, 'item> RefUnwindSafe for Layout<'input, 'item>
impl<'input, 'item> Send for Layout<'input, 'item>
impl<'input, 'item> Sync for Layout<'input, 'item>
impl<'input, 'item> Unpin for Layout<'input, 'item>
impl<'input, 'item> UnwindSafe for Layout<'input, 'item>
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