pub struct Imm12(/* private fields */);
Expand description
Represents a 12-bit immediate value, guaranteed to be masked by construction.
Implementations§
Trait Implementations§
source§impl FromWasmAbi for Imm12
impl FromWasmAbi for Imm12
source§impl IntoWasmAbi for Imm12
impl IntoWasmAbi for Imm12
source§impl LongRefFromWasmAbi for Imm12
impl LongRefFromWasmAbi for Imm12
source§impl OptionFromWasmAbi for Imm12
impl OptionFromWasmAbi for Imm12
source§impl OptionIntoWasmAbi for Imm12
impl OptionIntoWasmAbi for Imm12
source§impl Ord for Imm12
impl Ord for Imm12
source§impl PartialEq for Imm12
impl PartialEq for Imm12
source§impl PartialOrd for Imm12
impl PartialOrd for Imm12
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 Imm12
impl RefFromWasmAbi for Imm12
source§impl RefMutFromWasmAbi for Imm12
impl RefMutFromWasmAbi for Imm12
source§impl TryFromJsValue for Imm12
impl TryFromJsValue for Imm12
source§impl VectorFromWasmAbi for Imm12
impl VectorFromWasmAbi for Imm12
source§impl VectorIntoWasmAbi for Imm12
impl VectorIntoWasmAbi for Imm12
impl Copy for Imm12
impl Eq for Imm12
impl StructuralPartialEq for Imm12
Auto Trait Implementations§
impl Freeze for Imm12
impl RefUnwindSafe for Imm12
impl Send for Imm12
impl Sync for Imm12
impl Unpin for Imm12
impl UnwindSafe for Imm12
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
.