pub struct RelocationID { /* private fields */ }
Expand description
Represents an ID that varies based on runtime format.
Implementations§
Trait Implementations§
Source§impl Clone for RelocationID
impl Clone for RelocationID
Source§fn clone(&self) -> RelocationID
fn clone(&self) -> RelocationID
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 RelocationID
impl Debug for RelocationID
Source§impl Hash for RelocationID
impl Hash for RelocationID
Source§impl Ord for RelocationID
impl Ord for RelocationID
Source§fn cmp(&self, other: &RelocationID) -> Ordering
fn cmp(&self, other: &RelocationID) -> 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 RelocationID
impl PartialEq for RelocationID
Source§impl PartialOrd for RelocationID
impl PartialOrd for RelocationID
Source§impl ResolvableAddress for RelocationID
impl ResolvableAddress for RelocationID
Source§fn offset(&self) -> Result<NonZeroUsize, DataBaseError>
fn offset(&self) -> Result<NonZeroUsize, DataBaseError>
Returns the offset associated with this instance. Read more
Source§impl TryFrom<RelocationID> for Relocation
impl TryFrom<RelocationID> for Relocation
Source§type Error = DataBaseError
type Error = DataBaseError
The type returned in the event of a conversion error.
impl Eq for RelocationID
impl StructuralPartialEq for RelocationID
Auto Trait Implementations§
impl Freeze for RelocationID
impl RefUnwindSafe for RelocationID
impl Send for RelocationID
impl Sync for RelocationID
impl Unpin for RelocationID
impl UnwindSafe for RelocationID
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