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

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

Loading content...

Implementors

impl<T, U> ToSample<U> for T where
    U: FromSample<T>, 
[src]

Loading content...