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