pub struct AssemblyOffset(pub usize);
Expand description
A struct representing an offset into the assembling buffer of a DynasmLabelApi
struct.
The wrapped usize
is the offset from the start of the assembling buffer in bytes.
Tuple Fields§
§0: usize
Trait Implementations§
Source§impl Clone for AssemblyOffset
impl Clone for AssemblyOffset
Source§fn clone(&self) -> AssemblyOffset
fn clone(&self) -> AssemblyOffset
Returns a copy 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 AssemblyOffset
impl Debug for AssemblyOffset
Source§impl Hash for AssemblyOffset
impl Hash for AssemblyOffset
Source§impl Ord for AssemblyOffset
impl Ord for AssemblyOffset
Source§fn cmp(&self, other: &AssemblyOffset) -> Ordering
fn cmp(&self, other: &AssemblyOffset) -> 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 AssemblyOffset
impl PartialEq for AssemblyOffset
Source§impl PartialOrd for AssemblyOffset
impl PartialOrd for AssemblyOffset
impl Copy for AssemblyOffset
impl Eq for AssemblyOffset
impl StructuralPartialEq for AssemblyOffset
Auto Trait Implementations§
impl Freeze for AssemblyOffset
impl RefUnwindSafe for AssemblyOffset
impl Send for AssemblyOffset
impl Sync for AssemblyOffset
impl Unpin for AssemblyOffset
impl UnwindSafe for AssemblyOffset
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