pub trait ConvertTo<T> {
// Required method
fn convert_to(&self, other: &mut T);
}Expand description
Sample / Buffer conversion trait
Required Methods§
Sourcefn convert_to(&self, other: &mut T)
fn convert_to(&self, other: &mut T)
Write to other, converting into the correct format
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementors§
impl<A, B> ConvertTo<B> for Awhere
for<'a> B: ConvertFrom<&'a A>,
Auto implementation