Trait sample::conv::ToSample [] [src]

pub trait ToSample<S> {
    fn to_sample_(self) -> S;
}

Similar to the std Into trait, but specifically for converting between sample types.

This trait has a blanket implementation for all types that implement FromSample.

Required Methods

fn to_sample_(self) -> S

Implementors