devela::_dep::symphonia::core::conv

Trait ReversibleSample

pub trait ReversibleSample<S>:
    Sample
    + FromSample<S>
    + IntoSample<S> { }
Available on crate feature dep_symphonia only.
Expand description

ReversibleSample is a trait that when implemented for Self, that Sample type implements reversible conversions between Self and the parameterized Sample type S.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

§

impl<S, T> ReversibleSample<S> for T
where T: Sample + FromSample<S> + IntoSample<S>,