Enum cranelift_wasm::ReturnMode
source · pub enum ReturnMode {
NormalReturns,
FallthroughReturn,
}
Expand description
How to return from functions.
Variants§
NormalReturns
Use normal return instructions as needed.
FallthroughReturn
Use a single fallthrough return at the end of the function.
Trait Implementations§
source§impl Clone for ReturnMode
impl Clone for ReturnMode
source§fn clone(&self) -> ReturnMode
fn clone(&self) -> ReturnMode
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ReturnMode
impl Debug for ReturnMode
source§impl PartialEq<ReturnMode> for ReturnMode
impl PartialEq<ReturnMode> for ReturnMode
source§fn eq(&self, other: &ReturnMode) -> bool
fn eq(&self, other: &ReturnMode) -> bool
impl Copy for ReturnMode
impl Eq for ReturnMode
impl StructuralEq for ReturnMode
impl StructuralPartialEq for ReturnMode
Auto Trait Implementations§
impl RefUnwindSafe for ReturnMode
impl Send for ReturnMode
impl Sync for ReturnMode
impl Unpin for ReturnMode
impl UnwindSafe for ReturnMode
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.