pub struct TypeOffset(/* private fields */);Expand description
The debuginfo offset of a type.
This is unique for all types in a file.
Implementations§
Trait Implementations§
Source§impl Clone for TypeOffset
impl Clone for TypeOffset
Source§fn clone(&self) -> TypeOffset
fn clone(&self) -> TypeOffset
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 TypeOffset
impl Debug for TypeOffset
Source§impl Default for TypeOffset
impl Default for TypeOffset
Source§impl From<UnitSectionOffset> for TypeOffset
impl From<UnitSectionOffset> for TypeOffset
Source§fn from(o: UnitSectionOffset) -> TypeOffset
fn from(o: UnitSectionOffset) -> TypeOffset
Converts to this type from the input type.
Source§impl Hash for TypeOffset
impl Hash for TypeOffset
Source§impl Ord for TypeOffset
impl Ord for TypeOffset
Source§fn cmp(&self, other: &TypeOffset) -> Ordering
fn cmp(&self, other: &TypeOffset) -> 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 TypeOffset
impl PartialEq for TypeOffset
Source§impl PartialOrd for TypeOffset
impl PartialOrd for TypeOffset
impl Copy for TypeOffset
impl Eq for TypeOffset
impl StructuralPartialEq for TypeOffset
Auto Trait Implementations§
impl Freeze for TypeOffset
impl RefUnwindSafe for TypeOffset
impl Send for TypeOffset
impl Sync for TypeOffset
impl Unpin for TypeOffset
impl UnwindSafe for TypeOffset
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§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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.