pub struct Offset32(/* private fields */);
Expand description
32-bit signed immediate offset.
This is used to encode an immediate offset for load/store instructions. All supported ISAs have
a maximum load/store offset that fits in an i32
.
Implementations§
Trait Implementations§
impl Copy for Offset32
impl Eq for Offset32
impl StructuralPartialEq for Offset32
Auto Trait Implementations§
impl Freeze for Offset32
impl RefUnwindSafe for Offset32
impl Send for Offset32
impl Sync for Offset32
impl Unpin for Offset32
impl UnwindSafe for Offset32
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.