Trait spectrusty::audio::FromSample
source · pub trait FromSample<S> {
fn from_sample(other: S) -> Self;
}
Expand description
For converting samples between types.
Required Methods§
sourcefn from_sample(other: S) -> Self
fn from_sample(other: S) -> Self
Converts to Self a sample from the other
.