Struct euphony_buffer::decode::Samples
source · [−]Fields
channels: Vec<Vec<S>>sample_rate: Option<u32>Implementations
sourceimpl<S> Samples<S> where
S: Sample + FromSample<u8> + FromSample<u16> + FromSample<u24> + FromSample<u32> + FromSample<i8> + FromSample<i16> + FromSample<i24> + FromSample<i32> + FromSample<f32> + FromSample<f64>,
impl<S> Samples<S> where
S: Sample + FromSample<u8> + FromSample<u16> + FromSample<u24> + FromSample<u32> + FromSample<i8> + FromSample<i16> + FromSample<i24> + FromSample<i32> + FromSample<f32> + FromSample<f64>,
pub fn from_reader(stream: &mut dyn FormatReader) -> Result<Samples<S>, Error>
Trait Implementations
Auto Trait Implementations
impl<S> RefUnwindSafe for Samples<S> where
S: RefUnwindSafe,
impl<S> Send for Samples<S> where
S: Send,
impl<S> Sync for Samples<S> where
S: Sync,
impl<S> Unpin for Samples<S> where
S: Unpin,
impl<S> UnwindSafe for Samples<S> where
S: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
impl<F, T> IntoSample<T> for F where
T: FromSample<F>,
impl<F, T> IntoSample<T> for F where
T: FromSample<F>,
fn into_sample(self) -> T
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more