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