[][src]Struct binjs::io::CompressionTarget

pub struct CompressionTarget { /* fields omitted */ }

Instructions for a single section (grammar, strings, tree, ...)

Methods

impl CompressionTarget[src]

Important traits for CompressionTarget
pub fn new(format: Compression) -> CompressionTarget[src]

pub fn done(&mut self) -> Result<(Rc<Vec<u8>>, CompressionResult), Error>[src]

pub fn reset(&mut self)[src]

pub fn len(&self) -> usize[src]

Trait Implementations

impl Clone for CompressionTarget[src]

impl Debug for CompressionTarget[src]

impl Default for CompressionTarget[src]

impl Write for CompressionTarget[src]

Auto Trait Implementations

impl !RefUnwindSafe for CompressionTarget

impl !Send for CompressionTarget

impl !Sync for CompressionTarget

impl Unpin for CompressionTarget

impl !UnwindSafe for CompressionTarget

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> Downcast for T where
    T: Any
[src]

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

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

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<W> WriteBytesExt for W where
    W: Write + ?Sized
[src]

impl<T> WriteVarFloat for T where
    T: Write
[src]

impl<T> WriteVarNum for T where
    T: Write
[src]