pub struct StructLayout {
pub name: String,
pub size: u64,
pub alignment: Option<u64>,
pub members: Vec<MemberLayout>,
pub metrics: LayoutMetrics,
pub source_location: Option<SourceLocation>,
}Fields§
§name: String§size: u64§alignment: Option<u64>§members: Vec<MemberLayout>§metrics: LayoutMetrics§source_location: Option<SourceLocation>Implementations§
Trait Implementations§
Source§impl Clone for StructLayout
impl Clone for StructLayout
Source§fn clone(&self) -> StructLayout
fn clone(&self) -> StructLayout
Returns a duplicate of the value. Read more
1.0.0 · 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 StructLayout
impl Debug for StructLayout
Auto Trait Implementations§
impl Freeze for StructLayout
impl RefUnwindSafe for StructLayout
impl Send for StructLayout
impl Sync for StructLayout
impl Unpin for StructLayout
impl UnwindSafe for StructLayout
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