Enum Abi
pub enum Abi
A valid rust ABI.
Variants
-
C The default C ABI.
-
Stdcall The "stdcall" ABI.
-
EfiApi The "efiapi" ABI.
-
Fastcall The "fastcall" ABI.
-
ThisCall The "thiscall" ABI.
-
Vectorcall The "vectorcall" ABI.
-
Aapcs The "aapcs" ABI.
-
Win64 The "win64" ABI.
-
CUnwind The "C-unwind" ABI.
-
System The "system" ABI.
Trait Implementations
impl Clone for Abi
fn clone(&self) -> Self
impl Copy for Abi
impl Debug for Abi
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Display for Abi
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Eq for Abi
impl FromStr for Abi
type Err = String;fn from_str(s: &str) -> Result<Self, Self::Err>
impl Hash for Abi
fn hash<__H: Hasher>(&self, state: &mut __H)
impl PartialEq for Abi
fn eq(&self, other: &Self) -> bool
impl StructuralPartialEq for Abi
impl ToTokens for Abi
fn to_tokens(&self, tokens: &mut TokenStream)
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
impl<T> Any for Abi
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for Abi
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for Abi
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> CloneToUninit for Abi
where
T: Clone,
unsafe fn clone_to_uninit(&self, dest: *mut u8)
impl<T> From<T> for Abi
fn from(t: T) -> TReturns the argument unchanged.
impl<T> IntoEither for Abi
impl<T> Spanned for Abi
where
T: Spanned + ?Sized,
fn span(&self) -> Span
impl<T> ToOwned for Abi
where
T: Clone,
type Owned = T;fn to_owned(&self) -> Tfn clone_into(&self, target: &mut T)
impl<T> ToString for Abi
where
T: Display + ?Sized,
fn to_string(&self) -> String
impl<T, U> Into<U> for Abi
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for Abi
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for Abi
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>