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
source§fn eq(&self, other: &ReaderOffsetId) -> bool
fn eq(&self, other: &ReaderOffsetId) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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