[][src]Struct flac_bound::WriteWrapper

pub struct WriteWrapper<'out>(pub &'out mut dyn Write);

This wrapper is necessary due to fat pointers.

Examples

let mut outf = File::create("ЦшЦ.flac").unwrap();
let mut outw = WriteWrapper(&mut outf);
let mut outs = FlacEncoder::new().unwrap().init_write(&mut outw).unwrap();

outs.process_interleaved(&[0xA1, 0xF3], 1).unwrap();

Auto Trait Implementations

impl<'out> !Send for WriteWrapper<'out>

impl<'out> Unpin for WriteWrapper<'out>

impl<'out> !Sync for WriteWrapper<'out>

impl<'out> !UnwindSafe for WriteWrapper<'out>

impl<'out> !RefUnwindSafe for WriteWrapper<'out>

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for 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]