Trait symphonia_core::conv::dither::MaybeDither
source · pub trait MaybeDither<T: Sample>: Sample {
const DITHERABLE: bool;
// Required method
fn maybe_dither<D: Dither<Self, T>>(self, dither: &mut D) -> Self;
}
Expand description
MaybeDither
conditionally applies a dither to a sample depending on the source and
destination sample types.
Required Associated Constants§
const DITHERABLE: bool
Required Methods§
fn maybe_dither<D: Dither<Self, T>>(self, dither: &mut D) -> Self
Object Safety§
This trait is not object safe.