[][src]Struct abxml::chunks::table_type::TableTypeWrapper

pub struct TableTypeWrapper<'a> {
    raw_data: &'a [u8],
    data_offset: u64,
}

Fields

raw_data: &'a [u8]data_offset: u64

Methods

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

pub fn new(raw_data: &'a [u8], data_offset: u64) -> Self[src]

pub fn to_buffer(&self) -> Result<TableTypeBuf, Error>[src]

pub fn get_entries(&self) -> Result<Vec<Entry>, Error>[src]

fn decode_entries(
    &self,
    cursor: &mut Cursor<&[u8]>
) -> Result<Vec<Entry>, Error>
[src]

fn decode_entry(
    cursor: &mut Cursor<&[u8]>,
    id: u32
) -> Result<Option<Entry>, Error>
[src]

fn decode_simple_entry(
    cursor: &mut Cursor<&[u8]>,
    header: EntryHeader,
    id: u32
) -> Result<Option<Entry>, Error>
[src]

fn decode_complex_entry(
    cursor: &mut Cursor<&[u8]>,
    header: EntryHeader,
    id: u32
) -> Result<Option<Entry>, Error>
[src]

Trait Implementations

impl<'a> TableType for TableTypeWrapper<'a>[src]

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

Auto Trait Implementations

impl<'a> Unpin for TableTypeWrapper<'a>

impl<'a> Sync for TableTypeWrapper<'a>

impl<'a> Send for TableTypeWrapper<'a>

impl<'a> UnwindSafe for TableTypeWrapper<'a>

impl<'a> RefUnwindSafe for TableTypeWrapper<'a>

Blanket Implementations

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

impl<T, U> Into<U> for T where
    U: From<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]