pub struct RecordLayout {
pub layout: Layout,
pub fields: Vec<Field>,
}Expand description
A record, laid out.
Fields§
§layout: LayoutThe size and alignment of the record.
fields: Vec<Field>The members, one per declaration and in the same order, zero width bit-fields included.
Trait Implementations§
Source§impl Clone for RecordLayout
impl Clone for RecordLayout
Source§fn clone(&self) -> RecordLayout
fn clone(&self) -> RecordLayout
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RecordLayout
impl Debug for RecordLayout
impl Eq for RecordLayout
Source§impl PartialEq for RecordLayout
impl PartialEq for RecordLayout
impl StructuralPartialEq for RecordLayout
Auto Trait Implementations§
impl Freeze for RecordLayout
impl RefUnwindSafe for RecordLayout
impl Send for RecordLayout
impl Sync for RecordLayout
impl Unpin for RecordLayout
impl UnsafeUnpin for RecordLayout
impl UnwindSafe for RecordLayout
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