[][src]Struct pelite::base_relocs::Block

pub struct Block<'a> { /* fields omitted */ }

Base Relocation Block.

Methods

impl<'a> Block<'a>[src]

pub fn image(&self) -> &'a IMAGE_BASE_RELOCATION[src]

Returns the underlying base relocation block image.

pub fn words(&self) -> &'a [u16][src]

Gets the types and offsets.

pub fn rva_of(&self, word: &u16) -> u32[src]

Gets the final Rva of a type-offset word.

pub fn type_of(&self, word: &u16) -> u8[src]

Gets the type of a type-offset word.

Trait Implementations

impl<'a> Clone for Block<'a>[src]

impl<'a> Copy for Block<'a>[src]

impl<'a> Debug for Block<'a>[src]

Auto Trait Implementations

impl<'a> Sync for Block<'a>

impl<'a> Send for Block<'a>

impl<'a> Unpin for Block<'a>

impl<'a> UnwindSafe for Block<'a>

impl<'a> RefUnwindSafe for Block<'a>

Blanket Implementations

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

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

type Owned = T

The resulting type after obtaining ownership.

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

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> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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