#[repr(C)]pub struct NativeLibAbiHeaderV1 {
pub struct_size: usize,
pub abi_major: u16,
pub abi_minor: u16,
}Expand description
Version header prefix shared by every native library ABI struct.
Fields§
§struct_size: usizeByte size of the full ABI struct, for forward-compatible probing.
abi_major: u16Major ABI version the library was built against.
abi_minor: u16Minor ABI version the library was built against.
Implementations§
Trait Implementations§
Source§impl Clone for NativeLibAbiHeaderV1
impl Clone for NativeLibAbiHeaderV1
Source§fn clone(&self) -> NativeLibAbiHeaderV1
fn clone(&self) -> NativeLibAbiHeaderV1
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for NativeLibAbiHeaderV1
Auto Trait Implementations§
impl Freeze for NativeLibAbiHeaderV1
impl RefUnwindSafe for NativeLibAbiHeaderV1
impl Send for NativeLibAbiHeaderV1
impl Sync for NativeLibAbiHeaderV1
impl Unpin for NativeLibAbiHeaderV1
impl UnsafeUnpin for NativeLibAbiHeaderV1
impl UnwindSafe for NativeLibAbiHeaderV1
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