Trait sample::conv::ToSampleSlice
[−]
[src]
pub trait ToSampleSlice<'a, S> where S: Sample {
fn to_sample_slice(self) -> &'a [S];
}
For converting from a slice of Frame
s to a slice of Sample
s.
Required Methods
fn to_sample_slice(self) -> &'a [S]
Implementors
impl<'a, S> ToSampleSlice<'a, S> for &'a [S] where S: Sample
impl<'a, S> ToSampleSlice<'a, S> for &'a [[S; 1]] where S: Sample
impl<'a, S> ToSampleSlice<'a, S> for &'a [[S; 2]] where S: Sample
impl<'a, S> ToSampleSlice<'a, S> for &'a [[S; 3]] where S: Sample
impl<'a, S> ToSampleSlice<'a, S> for &'a [[S; 4]] where S: Sample
impl<'a, S> ToSampleSlice<'a, S> for &'a [[S; 5]] where S: Sample
impl<'a, S> ToSampleSlice<'a, S> for &'a [[S; 6]] where S: Sample
impl<'a, S> ToSampleSlice<'a, S> for &'a [[S; 7]] where S: Sample
impl<'a, S> ToSampleSlice<'a, S> for &'a [[S; 8]] where S: Sample
impl<'a, S> ToSampleSlice<'a, S> for &'a [[S; 9]] where S: Sample
impl<'a, S> ToSampleSlice<'a, S> for &'a [[S; 10]] where S: Sample
impl<'a, S> ToSampleSlice<'a, S> for &'a [[S; 11]] where S: Sample
impl<'a, S> ToSampleSlice<'a, S> for &'a [[S; 12]] where S: Sample
impl<'a, S> ToSampleSlice<'a, S> for &'a [[S; 13]] where S: Sample
impl<'a, S> ToSampleSlice<'a, S> for &'a [[S; 14]] where S: Sample
impl<'a, S> ToSampleSlice<'a, S> for &'a [[S; 15]] where S: Sample
impl<'a, S> ToSampleSlice<'a, S> for &'a [[S; 16]] where S: Sample
impl<'a, S> ToSampleSlice<'a, S> for &'a [[S; 17]] where S: Sample
impl<'a, S> ToSampleSlice<'a, S> for &'a [[S; 18]] where S: Sample
impl<'a, S> ToSampleSlice<'a, S> for &'a [[S; 19]] where S: Sample
impl<'a, S> ToSampleSlice<'a, S> for &'a [[S; 20]] where S: Sample
impl<'a, S> ToSampleSlice<'a, S> for &'a [[S; 21]] where S: Sample
impl<'a, S> ToSampleSlice<'a, S> for &'a [[S; 22]] where S: Sample
impl<'a, S> ToSampleSlice<'a, S> for &'a [[S; 23]] where S: Sample
impl<'a, S> ToSampleSlice<'a, S> for &'a [[S; 24]] where S: Sample
impl<'a, S> ToSampleSlice<'a, S> for &'a [[S; 25]] where S: Sample
impl<'a, S> ToSampleSlice<'a, S> for &'a [[S; 26]] where S: Sample
impl<'a, S> ToSampleSlice<'a, S> for &'a [[S; 27]] where S: Sample
impl<'a, S> ToSampleSlice<'a, S> for &'a [[S; 28]] where S: Sample
impl<'a, S> ToSampleSlice<'a, S> for &'a [[S; 29]] where S: Sample
impl<'a, S> ToSampleSlice<'a, S> for &'a [[S; 30]] where S: Sample
impl<'a, S> ToSampleSlice<'a, S> for &'a [[S; 31]] where S: Sample
impl<'a, S> ToSampleSlice<'a, S> for &'a [[S; 32]] where S: Sample