[][src]Struct binjs_io::entropy::write::Encoder

pub struct Encoder { /* fields omitted */ }

An entropy encoder, based on the Opus bit-level entropy coding.

Methods

impl Encoder[src]

pub fn new(path: Option<&Path>, options: Options) -> Self[src]

Create a new Encoder.

Note that cloning options is pretty cheap, as it is mostly a bunch of Rc<>.

Trait Implementations

impl TokenWriter for Encoder[src]

type Data = Box<[u8]>

The type of data generated by this writer. Typically some variant of Vec<u8>. Read more

Auto Trait Implementations

impl !RefUnwindSafe for Encoder

impl !Send for Encoder

impl !Sync for Encoder

impl Unpin for Encoder

impl !UnwindSafe for Encoder

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, 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]