[−][src]Struct disasm::binary::BinaryData

pub struct BinaryData { /* fields omitted */ }

Reference counted and memory mapped binary data.

Implementations

impl BinaryData[src]

pub fn from_file(file: &File) -> Result<Self>[src]

Loads binary data from a file.

pub fn slice<R>(&self, range: R) -> BinaryDataⓘ

Notable traits for BinaryData

impl Read for BinaryData
where
    R: RangeBounds<usize>, 
[src]

Trait Implementations

impl Clone for BinaryData[src]

impl CloneStableDeref for BinaryData[src]

impl Debug for BinaryData[src]

impl Deref for BinaryData[src]

type Target = [u8]

The resulting type after dereferencing.

impl Read for BinaryData[src]

impl Seek for BinaryData[src]

impl StableDeref for BinaryData[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

impl<Ctx, R> IOread<Ctx> for R where
    Ctx: Copy,
    R: Read + ?Sized, 

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

impl<'s, T> Source<'s> for T where
    T: Read + Seek + Debug + 's, 
[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.