[][src]Struct jomini::BinaryTape

pub struct BinaryTape<'a> {
    pub token_tape: Vec<BinaryToken>,
    pub data_tape: Vec<Scalar<'a>>,
    pub rgb_tape: Vec<Rgb>,
    // some fields omitted
}

Houses the tape of tokens that is extracted from binary data

Fields

token_tape: Vec<BinaryToken>data_tape: Vec<Scalar<'a>>rgb_tape: Vec<Rgb>

Implementations

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

pub fn from_slice(data: &[u8]) -> Result<BinaryTape, Error>[src]

pub fn clear(&mut self)[src]

pub fn parse(&mut self, data: &'a [u8]) -> Result<(), Error>[src]

Trait Implementations

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

impl<'a> Default for BinaryTape<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for BinaryTape<'a>

impl<'a> Send for BinaryTape<'a>

impl<'a> Sync for BinaryTape<'a>

impl<'a> Unpin for BinaryTape<'a>

impl<'a> UnwindSafe for BinaryTape<'a>

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<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.