pub struct FfiStructDef {
pub name: String,
pub fields: Vec<FfiStructField>,
pub alignment: Option<u64>,
pub is_packed: bool,
pub is_union: bool,
}Expand description
FFI struct definition
Fields§
§name: String§fields: Vec<FfiStructField>§alignment: Option<u64>§is_packed: bool§is_union: boolTrait Implementations§
Source§impl Clone for FfiStructDef
impl Clone for FfiStructDef
Source§fn clone(&self) -> FfiStructDef
fn clone(&self) -> FfiStructDef
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 FfiStructDef
impl Debug for FfiStructDef
Auto Trait Implementations§
impl Freeze for FfiStructDef
impl RefUnwindSafe for FfiStructDef
impl Send for FfiStructDef
impl Sync for FfiStructDef
impl Unpin for FfiStructDef
impl UnsafeUnpin for FfiStructDef
impl UnwindSafe for FfiStructDef
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