pub struct Imm12(_);
Expand description
Represents a 12-bit immediate value, guaranteed to be masked by construction.
Implementations§
Trait Implementations§
source§impl Ord for Imm12
impl Ord for Imm12
source§impl PartialEq<Imm12> for Imm12
impl PartialEq<Imm12> for Imm12
source§impl PartialOrd<Imm12> for Imm12
impl PartialOrd<Imm12> 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 moreimpl Copy for Imm12
impl Eq for Imm12
impl StructuralEq for Imm12
impl StructuralPartialEq for Imm12
Auto Trait Implementations§
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