pub struct FieldLayout<'a> {
pub desc: &'a AbiFieldDescriptor,
pub ty: Ty<'a>,
pub offset: Width,
}Expand description
One field of a RecordLayout.
Fields§
§desc: &'a AbiFieldDescriptor§ty: Ty<'a>§offset: WidthImplementations§
Trait Implementations§
Source§impl<'a> Clone for FieldLayout<'a>
impl<'a> Clone for FieldLayout<'a>
impl<'a> Copy for FieldLayout<'a>
Auto Trait Implementations§
impl<'a> Forget for FieldLayout<'a>
impl<'a> Freeze for FieldLayout<'a>
impl<'a> Move for FieldLayout<'a>
impl<'a> RefUnwindSafe for FieldLayout<'a>
impl<'a> Send for FieldLayout<'a>
impl<'a> Sync for FieldLayout<'a>
impl<'a> Unpin for FieldLayout<'a>
impl<'a> UnsafeUnpin for FieldLayout<'a>
impl<'a> UnwindSafe for FieldLayout<'a>
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