pub struct PcRelOffset(/* private fields */);Expand description
A PC-relative offset.
This is relative to the start of this offset’s containing instruction.
Trait Implementations§
Source§impl<'a> Arbitrary<'a> for PcRelOffset
Available on crate feature arbitrary only. 
impl<'a> Arbitrary<'a> for PcRelOffset
Available on crate feature 
arbitrary only.Source§fn arbitrary(_u: &mut Unstructured<'a>) -> Result<Self>
 
fn arbitrary(_u: &mut Unstructured<'a>) -> Result<Self>
Generate an arbitrary value of 
Self from the given unstructured data. Read more§fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>
 
fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>
Generate an arbitrary value of 
Self from the entirety of the given
unstructured data. Read moreSource§impl Clone for PcRelOffset
 
impl Clone for PcRelOffset
Source§fn clone(&self) -> PcRelOffset
 
fn clone(&self) -> PcRelOffset
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moreSource§impl Debug for PcRelOffset
 
impl Debug for PcRelOffset
Source§impl Decode for PcRelOffset
Available on crate feature decode only. 
impl Decode for PcRelOffset
Available on crate feature 
decode only.Source§impl Display for PcRelOffset
 
impl Display for PcRelOffset
Source§impl Encode for PcRelOffset
Available on crate feature encode only. 
impl Encode for PcRelOffset
Available on crate feature 
encode only.Source§impl From<PcRelOffset> for i32
 
impl From<PcRelOffset> for i32
Source§fn from(offset: PcRelOffset) -> Self
 
fn from(offset: PcRelOffset) -> Self
Converts to this type from the input type.
Source§impl From<i32> for PcRelOffset
 
impl From<i32> for PcRelOffset
Source§impl Hash for PcRelOffset
 
impl Hash for PcRelOffset
Source§impl Ord for PcRelOffset
 
impl Ord for PcRelOffset
Source§fn cmp(&self, other: &PcRelOffset) -> Ordering
 
fn cmp(&self, other: &PcRelOffset) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
    Self: Sized,
 
fn max(self, other: Self) -> Selfwhere
    Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for PcRelOffset
 
impl PartialEq for PcRelOffset
Source§impl PartialOrd for PcRelOffset
 
impl PartialOrd for PcRelOffset
impl Copy for PcRelOffset
impl Eq for PcRelOffset
impl StructuralPartialEq for PcRelOffset
Auto Trait Implementations§
impl Freeze for PcRelOffset
impl RefUnwindSafe for PcRelOffset
impl Send for PcRelOffset
impl Sync for PcRelOffset
impl Unpin for PcRelOffset
impl UnwindSafe for PcRelOffset
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