Trait symphonia_core::conv::IntoSample[][src]

pub trait IntoSample<T> {
    fn into_sample(self) -> T;
}

IntoSample implements a conversion from Self to Sample type T.

This may be a lossy conversion if converting from a sample type of higher precision to one of lower precision. No dithering is applied.

Required methods

fn into_sample(self) -> T[src]

Loading content...

Implementors

impl<F, T: FromSample<F>> IntoSample<T> for F[src]

Loading content...