Struct cranelift_codegen::ir::immediates::Offset32
source · pub struct Offset32(_);
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§
source§impl PartialEq<Offset32> for Offset32
impl PartialEq<Offset32> for Offset32
impl Copy for Offset32
impl Eq for Offset32
impl StructuralEq for Offset32
impl StructuralPartialEq for Offset32
Auto Trait Implementations§
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> CallHasher for Twhere
T: Hash + ?Sized,
impl<T> CallHasher for Twhere T: Hash + ?Sized,
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.