Trait symphonia_core::conv::IntoSample

source ·
pub trait IntoSample<T> {
    // Required method
    fn into_sample(self) -> T;
}
Expand description

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§

source

fn into_sample(self) -> T

Implementors§

source§

impl<F, T: FromSample<F>> IntoSample<T> for F