#[repr(u8)]pub enum RelocationType {
Absolute = 0,
High = 1,
Low = 2,
HighLow = 3,
HighAdj = 4,
Dir64 = 10,
}Expand description
relocation types
Variants§
Trait Implementations§
Source§impl Clone for RelocationType
impl Clone for RelocationType
Source§fn clone(&self) -> RelocationType
fn clone(&self) -> RelocationType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RelocationType
Source§impl Debug for RelocationType
impl Debug for RelocationType
impl Eq for RelocationType
Source§impl From<u8> for RelocationType
impl From<u8> for RelocationType
Source§impl PartialEq for RelocationType
impl PartialEq for RelocationType
Source§fn eq(&self, other: &RelocationType) -> bool
fn eq(&self, other: &RelocationType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RelocationType
Auto Trait Implementations§
impl Freeze for RelocationType
impl RefUnwindSafe for RelocationType
impl Send for RelocationType
impl Sync for RelocationType
impl Unpin for RelocationType
impl UnsafeUnpin for RelocationType
impl UnwindSafe for RelocationType
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