Enum object::RelocationEncoding [−][src]
pub enum RelocationEncoding { Generic, X86Signed, X86RipRelative, X86RipRelativeMovq, X86Branch, S390xDbl, }
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]
impl Clone for RelocationEncoding
[src]fn clone(&self) -> RelocationEncoding
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl PartialEq<RelocationEncoding> 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]
#[must_use]
pub fn ne(&self, other: &Rhs) -> boolimpl Copy for RelocationEncoding
[src]
impl Eq for RelocationEncoding
[src]
impl StructuralEq for RelocationEncoding
[src]
impl StructuralPartialEq for RelocationEncoding
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
The resulting type after obtaining ownership.