[][src]Enum mach_object::RebaseOpCode

pub enum RebaseOpCode {
    Done,
    SetSymbolType(BindSymbolType),
    SetSegmentOffset {
        segment_index: u8,
        segment_offset: usize,
    },
    AddAddress {
        offset: isize,
    },
    Rebase {
        times: usize,
    },
    RebaseAndAddAddress {
        offset: isize,
    },
    RebaseAndSkipping {
        times: usize,
        skip: usize,
    },
}

OpCode for the rebasing symbol

Variants

Done
SetSymbolType(BindSymbolType)
SetSegmentOffset

Fields of SetSegmentOffset

segment_index: u8segment_offset: usize
AddAddress

Fields of AddAddress

offset: isize
Rebase

Fields of Rebase

times: usize
RebaseAndAddAddress

Fields of RebaseAndAddAddress

offset: isize
RebaseAndSkipping

Fields of RebaseAndSkipping

times: usizeskip: usize

Trait Implementations

impl Clone for RebaseOpCode[src]

impl PartialEq<RebaseOpCode> for RebaseOpCode[src]

impl Debug for RebaseOpCode[src]

impl StructuralPartialEq for RebaseOpCode[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]