Struct midi_codec::de::builder::DecoderBuilder
source · pub struct DecoderBuilder<R = (), B = ()> { /* private fields */ }
Implementations§
source§impl DecoderBuilder<(), ()>
impl DecoderBuilder<(), ()>
source§impl<R> DecoderBuilder<(R,), ()>
impl<R> DecoderBuilder<(R,), ()>
source§impl<B> DecoderBuilder<(), (B,)>
impl<B> DecoderBuilder<(), (B,)>
source§impl<B> DecoderBuilder<(), B>
impl<B> DecoderBuilder<(), B>
pub fn with_reader<R, E>(self, reader: R) -> DecoderBuilder<(R,), B>where
R: ReadSimple,
source§impl<R> DecoderBuilder<R, ()>
impl<R> DecoderBuilder<R, ()>
pub fn with_buffer<B>(self, buf: B) -> DecoderBuilder<R, (B,)>
pub fn with_stack_buffer<const SIZE: usize>( self ) -> DecoderBuilder<R, ([u8; SIZE],)>
pub fn with_heap_buffer(self, size: usize) -> DecoderBuilder<R, (Vec<u8>,)>
Trait Implementations§
Auto Trait Implementations§
impl<R, B> RefUnwindSafe for DecoderBuilder<R, B>where
B: RefUnwindSafe,
R: RefUnwindSafe,
impl<R, B> Send for DecoderBuilder<R, B>
impl<R, B> Sync for DecoderBuilder<R, B>
impl<R, B> Unpin for DecoderBuilder<R, B>
impl<R, B> UnwindSafe for DecoderBuilder<R, B>where
B: UnwindSafe,
R: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more