[][src]Struct abxml::model::owned::TableTypeSpecBuf

pub struct TableTypeSpecBuf {
    id: u16,
    flags: Vec<u32>,
}

Fields

id: u16flags: Vec<u32>

Methods

impl TableTypeSpecBuf[src]

pub fn new(id: u16) -> Self[src]

pub fn push_flag(&mut self, flag: u32)[src]

Trait Implementations

impl OwnedBuf for TableTypeSpecBuf[src]

fn to_vec(&self) -> Result<Vec<u8>, Error>[src]

Convert the given OwnedBuf to a well formed chunk in form of vector of bytes

fn write_header(&self, buffer: &mut Vec<u8>, body: &[u8]) -> Result<(), Error>[src]

Writes the header to the output buffer. It writes token, header size and chunk_size and then the data returned by get_header. Read more

impl TypeSpec for TableTypeSpecBuf[src]

impl Debug for TableTypeSpecBuf[src]

Auto Trait Implementations

impl Unpin for TableTypeSpecBuf

impl Sync for TableTypeSpecBuf

impl Send for TableTypeSpecBuf

impl UnwindSafe for TableTypeSpecBuf

impl RefUnwindSafe for TableTypeSpecBuf

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]