pub trait ReversibleSample<S>: Sample + FromSample<S> + IntoSample<S> { }
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.

Object Safety§

This trait is not object safe.

Implementors§

source§

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