Enum object::RelocationEncoding [−][src]
Information about how the result of the relocation operation is encoded in the place.
This is usually architecture specific, such as specifying an addressing mode or a specific instruction.
Variants
Generic encoding.
x86 sign extension at runtime.
Used with RelocationKind::Absolute
.
x86 rip-relative addressing.
The RelocationKind
must be PC relative.
x86 rip-relative addressing in movq instruction.
The RelocationKind
must be PC relative.
x86 branch instruction.
The RelocationKind
must be PC relative.
s390x PC-relative offset shifted right by one bit.
The RelocationKind
must be PC relative.
Trait Implementations
impl Clone for RelocationEncoding
[src]
fn clone(&self) -> RelocationEncoding
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for RelocationEncoding
[src]
impl Debug for RelocationEncoding
[src]
impl Eq for RelocationEncoding
[src]
impl PartialEq<RelocationEncoding> for RelocationEncoding
[src]
fn eq(&self, other: &RelocationEncoding) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralEq for RelocationEncoding
[src]
impl StructuralPartialEq for RelocationEncoding
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,