pub struct MemberLayout {
pub name: String,
pub type_name: String,
pub offset: Option<u64>,
pub size: Option<u64>,
pub bit_offset: Option<u64>,
pub bit_size: Option<u64>,
pub is_atomic: bool,
}Fields§
§name: String§type_name: String§offset: Option<u64>§size: Option<u64>§bit_offset: Option<u64>§bit_size: Option<u64>§is_atomic: boolTrue if the type was marked with DW_TAG_atomic_type in DWARF debug info. This provides more reliable atomic detection than string pattern matching.
Implementations§
Trait Implementations§
Source§impl Clone for MemberLayout
impl Clone for MemberLayout
Source§fn clone(&self) -> MemberLayout
fn clone(&self) -> MemberLayout
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MemberLayout
impl Debug for MemberLayout
Auto Trait Implementations§
impl Freeze for MemberLayout
impl RefUnwindSafe for MemberLayout
impl Send for MemberLayout
impl Sync for MemberLayout
impl Unpin for MemberLayout
impl UnwindSafe for MemberLayout
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)