pub struct Imm18(/* private fields */);
Expand description
Represents a 18-bit immediate value, guaranteed to be masked by construction.
Implementations§
Trait Implementations§
source§impl FromWasmAbi for Imm18
impl FromWasmAbi for Imm18
source§impl IntoWasmAbi for Imm18
impl IntoWasmAbi for Imm18
source§impl LongRefFromWasmAbi for Imm18
impl LongRefFromWasmAbi for Imm18
source§impl OptionFromWasmAbi for Imm18
impl OptionFromWasmAbi for Imm18
source§impl OptionIntoWasmAbi for Imm18
impl OptionIntoWasmAbi for Imm18
source§impl Ord for Imm18
impl Ord for Imm18
source§impl PartialEq for Imm18
impl PartialEq for Imm18
source§impl PartialOrd for Imm18
impl PartialOrd for Imm18
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl RefFromWasmAbi for Imm18
impl RefFromWasmAbi for Imm18
source§impl RefMutFromWasmAbi for Imm18
impl RefMutFromWasmAbi for Imm18
source§impl TryFromJsValue for Imm18
impl TryFromJsValue for Imm18
source§impl VectorFromWasmAbi for Imm18
impl VectorFromWasmAbi for Imm18
source§impl VectorIntoWasmAbi for Imm18
impl VectorIntoWasmAbi for Imm18
impl Copy for Imm18
impl Eq for Imm18
impl StructuralPartialEq for Imm18
Auto Trait Implementations§
impl Freeze for Imm18
impl RefUnwindSafe for Imm18
impl Send for Imm18
impl Sync for Imm18
impl Unpin for Imm18
impl UnwindSafe for Imm18
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
source§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::Abi
source§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi
, except that it may throw and never
return in the case of Err
.