pub struct FfiStruct<'x> {
pub name: &'x str,
pub size: usize,
pub align: usize,
pub fields: &'x [FfiStructField<'x>],
}Expand description
A struct representing a C-compatible struct
Fields§
§name: &'x str§size: usize§align: usize§fields: &'x [FfiStructField<'x>]Trait Implementations§
Auto Trait Implementations§
impl<'x> Freeze for FfiStruct<'x>
impl<'x> RefUnwindSafe for FfiStruct<'x>
impl<'x> Send for FfiStruct<'x>
impl<'x> Sync for FfiStruct<'x>
impl<'x> Unpin for FfiStruct<'x>
impl<'x> UnsafeUnpin for FfiStruct<'x>
impl<'x> UnwindSafe for FfiStruct<'x>
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