Struct gimli::read::ReaderOffsetId
source · pub struct ReaderOffsetId(pub u64);
Expand description
An identifier for an offset within a section reader.
This is used for error reporting. The meaning of this value is specific to each reader implementation. The values should be chosen to be unique amongst all readers. If values are not unique then errors may point to the wrong reader.
Tuple Fields§
§0: u64
Trait Implementations§
source§impl Clone for ReaderOffsetId
impl Clone for ReaderOffsetId
source§fn clone(&self) -> ReaderOffsetId
fn clone(&self) -> ReaderOffsetId
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 ReaderOffsetId
impl Debug for ReaderOffsetId
source§impl PartialEq for ReaderOffsetId
impl PartialEq for ReaderOffsetId
impl Copy for ReaderOffsetId
impl Eq for ReaderOffsetId
impl StructuralPartialEq for ReaderOffsetId
Auto Trait Implementations§
impl Freeze for ReaderOffsetId
impl RefUnwindSafe for ReaderOffsetId
impl Send for ReaderOffsetId
impl Sync for ReaderOffsetId
impl Unpin for ReaderOffsetId
impl UnwindSafe for ReaderOffsetId
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.