Enum wasmtime_environ::isa::CallConv [−][src]
Calling convention identifiers.
Variants
Best performance, not ABI-stable.
Smallest caller code size, not ABI-stable.
System V-style convention used on many platforms.
Windows “fastcall” convention, also used for x64 and ARM.
Mac aarch64 calling convention, which is a tweak aarch64 ABI.
SpiderMonkey WebAssembly convention on systems using natively SystemV.
SpiderMonkey WebAssembly convention on Windows.
SpiderMonkey WebAssembly convention for “ABI-2020”, with extra TLS register slots in the frame.
Specialized convention for the probestack function.
Implementations
impl CallConv
[src]
pub fn triple_default(triple: &Triple) -> CallConv
[src]
Return the default calling convention for the given target triple.
pub fn for_libcall(flags: &Flags, default_call_conv: CallConv) -> CallConv
[src]
Returns the calling convention used for libcalls according to the current flags.
pub fn extends_windows_fastcall(self) -> bool
[src]
Is the calling convention extending the Windows Fastcall ABI?
pub fn extends_baldrdash(self) -> bool
[src]
Is the calling convention extending the Baldrdash ABI?
Trait Implementations
impl Clone for CallConv
[src]
impl Copy for CallConv
[src]
impl Debug for CallConv
[src]
impl<'de> Deserialize<'de> for CallConv
[src]
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<CallConv, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]
__deserializer: __D
) -> Result<CallConv, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
impl Display for CallConv
[src]
impl Eq for CallConv
[src]
impl FromStr for CallConv
[src]
type Err = ()
The associated error which can be returned from parsing.
pub fn from_str(s: &str) -> Result<CallConv, <CallConv as FromStr>::Err>
[src]
impl Hash for CallConv
[src]
pub fn hash<__H>(&self, state: &mut __H) where
__H: Hasher,
[src]
__H: Hasher,
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<CallConv> for CallConv
[src]
pub fn eq(&self, other: &CallConv) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl Serialize for CallConv
[src]
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
[src]
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
impl StructuralEq for CallConv
[src]
impl StructuralPartialEq for CallConv
[src]
Auto Trait Implementations
impl RefUnwindSafe for CallConv
impl Send for CallConv
impl Sync for CallConv
impl Unpin for CallConv
impl UnwindSafe for CallConv
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
pub fn equivalent(&self, key: &K) -> bool
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,