#[non_exhaustive]pub enum Abi {
Named(&'static str),
ExternRust,
ExternC,
}🔬This is a nightly-only experimental API. (
type_info #146922)Expand description
Abi of FnPtr
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Named(&'static str)
🔬This is a nightly-only experimental API. (
type_info #146922)Named abi, e.g. extern “custom”, “stdcall” etc.
ExternRust
🔬This is a nightly-only experimental API. (
type_info #146922)Default
ExternC
🔬This is a nightly-only experimental API. (
type_info #146922)C-calling convention
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Abi
impl RefUnwindSafe for Abi
impl Send for Abi
impl Sync for Abi
impl Unpin for Abi
impl UnsafeUnpin for Abi
impl UnwindSafe for Abi
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