#[repr(C)]pub struct AbiInfo {
pub version: u32,
pub flags: u32,
}Fields§
§version: u32§flags: u32Implementations§
Source§impl AbiInfo
impl AbiInfo
pub fn new() -> Self
pub fn with_version_and_flags(version: u32, flags: u32) -> Self
pub fn is_compatible(&self) -> bool
pub fn supports_state_serialization(&self) -> bool
pub fn supports_async(&self) -> bool
pub fn mismatch_severity(&self) -> AbiMismatchSeverity
Trait Implementations§
impl Copy for AbiInfo
Auto Trait Implementations§
impl Freeze for AbiInfo
impl RefUnwindSafe for AbiInfo
impl Send for AbiInfo
impl Sync for AbiInfo
impl Unpin for AbiInfo
impl UnsafeUnpin for AbiInfo
impl UnwindSafe for AbiInfo
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