IntoSample

Trait IntoSample 

Source
pub trait IntoSample<S> {
    // Required method
    fn into_sample(self) -> S;
}
Expand description

For converting samples between types.

Required Methods§

Source

fn into_sample(self) -> S

Convert to S a sample type from self.

Implementors§

Source§

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