[][src]Struct gf::mc::image::ImageSection

pub struct ImageSection {
    pub name: Option<Vec<u8>>,
    pub address_iv: Option<Iv>,
    pub file_offset_iv: Option<Iv<u64>>,
    pub contents: Vec<u8>,
    pub relocations: Vec<Relocation>,

Section in an Image.


name: Option<Vec<u8>>


address_iv: Option<Iv>

Address interval, None if this is not a loadable section.

file_offset_iv: Option<Iv<u64>>

File offset interval, None if this section occupies no space in file.

contents: Vec<u8>

Section contents.

relocations: Vec<Relocation>



impl ImageSection[src]

pub fn name_str(&self) -> Option<&str>[src]

Return section name as a UTF-8 string if convertible.

Trait Implementations

impl Clone for ImageSection[src]

impl Debug for ImageSection[src]

Auto Trait Implementations

impl RefUnwindSafe for ImageSection

impl Send for ImageSection

impl Sync for ImageSection

impl Unpin for ImageSection

impl UnwindSafe for ImageSection

Blanket Implementations

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

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

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

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

The type returned in the event of a conversion error.