pub struct NativeLayoutField {
pub name: String,
pub c_type: String,
pub offset: u32,
pub size: u32,
pub align: u32,
}Expand description
Field layout metadata for type C structs.
Fields§
§name: String§c_type: String§offset: u32§size: u32§align: u32Trait Implementations§
Source§impl Clone for NativeLayoutField
impl Clone for NativeLayoutField
Source§fn clone(&self) -> NativeLayoutField
fn clone(&self) -> NativeLayoutField
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 moreAuto Trait Implementations§
impl Freeze for NativeLayoutField
impl RefUnwindSafe for NativeLayoutField
impl Send for NativeLayoutField
impl Sync for NativeLayoutField
impl Unpin for NativeLayoutField
impl UnsafeUnpin for NativeLayoutField
impl UnwindSafe for NativeLayoutField
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