pub enum RelocationValue {
Relocation16(u16),
Relocation32(u32),
Relocation64(u64),
None,
}Expand description
An enum representing the resulting values of a relocation.
Variants§
Trait Implementations§
Source§impl Clone for RelocationValue
impl Clone for RelocationValue
Source§fn clone(&self) -> RelocationValue
fn clone(&self) -> RelocationValue
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 RelocationValue
impl Debug for RelocationValue
Source§impl PartialEq for RelocationValue
impl PartialEq for RelocationValue
impl Copy for RelocationValue
impl Eq for RelocationValue
impl StructuralPartialEq for RelocationValue
Auto Trait Implementations§
impl Freeze for RelocationValue
impl RefUnwindSafe for RelocationValue
impl Send for RelocationValue
impl Sync for RelocationValue
impl Unpin for RelocationValue
impl UnwindSafe for RelocationValue
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