#[non_exhaustive]pub enum Abi {
Named(&'static str),
ExternRust,
ExternC,
}๐ฌThis is a nightly-only experimental API. (
type_info)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)Named abi, e.g. extern โcustomโ, โstdcallโ etc.
ExternRust
๐ฌThis is a nightly-only experimental API. (
type_info)Default
ExternC
๐ฌThis is a nightly-only experimental API. (
type_info)C-calling convention
Trait Implementationsยง
impl Copy for Abi
impl Eq for Abi
impl StructuralPartialEq for Abi
Auto Trait Implementationsยง
impl Forget for Abi
impl Freeze for Abi
impl Move for Abi
impl RefUnwindSafe for Abi
impl Send for Abi
impl Sync for Abi
impl Unpin for Abi
impl UnsafeUnpin for Abiwhere
&'static str: UnsafeUnpin,
impl UnwindSafe for Abiwhere
&'static str: UnwindSafe,
Blanket Implementationsยง
impl<T> AnySend for T
impl<T> AnySendClone for T
impl<T> AnySendSync for T
impl<T> AnySendSyncClone for T
impl<T> AnySync for T
impl<T> AnySyncClone for T
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
Sourceยงimpl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Sourceยงimpl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Sourceยงimpl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Sourceยงfn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.