Skip to main content

FromFrameSlice

Trait FromFrameSlice 

Source
pub trait FromFrameSlice<'a, F>
where F: Frame,
{ // Required method fn from_frame_slice(slice: &'a [F]) -> Self; }
Expand description

For converting from a slice of Frames to a slice of Samples.

Required Methods§

Source

fn from_frame_slice(slice: &'a [F]) -> Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<'a, F> FromFrameSlice<'a, F> for &'a [F]
where F: Frame,

Source§

fn from_frame_slice(slice: &'a [F]) -> Self

Source§

impl<'a, S> FromFrameSlice<'a, [S; 1]> for &'a [S]
where [S; 1]: Frame,

Source§

fn from_frame_slice(slice: &'a [[S; 1]]) -> Self

Source§

impl<'a, S> FromFrameSlice<'a, [S; 2]> for &'a [S]
where [S; 2]: Frame,

Source§

fn from_frame_slice(slice: &'a [[S; 2]]) -> Self

Source§

impl<'a, S> FromFrameSlice<'a, [S; 3]> for &'a [S]
where [S; 3]: Frame,

Source§

fn from_frame_slice(slice: &'a [[S; 3]]) -> Self

Source§

impl<'a, S> FromFrameSlice<'a, [S; 4]> for &'a [S]
where [S; 4]: Frame,

Source§

fn from_frame_slice(slice: &'a [[S; 4]]) -> Self

Source§

impl<'a, S> FromFrameSlice<'a, [S; 5]> for &'a [S]
where [S; 5]: Frame,

Source§

fn from_frame_slice(slice: &'a [[S; 5]]) -> Self

Source§

impl<'a, S> FromFrameSlice<'a, [S; 6]> for &'a [S]
where [S; 6]: Frame,

Source§

fn from_frame_slice(slice: &'a [[S; 6]]) -> Self

Source§

impl<'a, S> FromFrameSlice<'a, [S; 7]> for &'a [S]
where [S; 7]: Frame,

Source§

fn from_frame_slice(slice: &'a [[S; 7]]) -> Self

Source§

impl<'a, S> FromFrameSlice<'a, [S; 8]> for &'a [S]
where [S; 8]: Frame,

Source§

fn from_frame_slice(slice: &'a [[S; 8]]) -> Self

Source§

impl<'a, S> FromFrameSlice<'a, [S; 9]> for &'a [S]
where [S; 9]: Frame,

Source§

fn from_frame_slice(slice: &'a [[S; 9]]) -> Self

Source§

impl<'a, S> FromFrameSlice<'a, [S; 10]> for &'a [S]
where [S; 10]: Frame,

Source§

fn from_frame_slice(slice: &'a [[S; 10]]) -> Self

Source§

impl<'a, S> FromFrameSlice<'a, [S; 11]> for &'a [S]
where [S; 11]: Frame,

Source§

fn from_frame_slice(slice: &'a [[S; 11]]) -> Self

Source§

impl<'a, S> FromFrameSlice<'a, [S; 12]> for &'a [S]
where [S; 12]: Frame,

Source§

fn from_frame_slice(slice: &'a [[S; 12]]) -> Self

Source§

impl<'a, S> FromFrameSlice<'a, [S; 13]> for &'a [S]
where [S; 13]: Frame,

Source§

fn from_frame_slice(slice: &'a [[S; 13]]) -> Self

Source§

impl<'a, S> FromFrameSlice<'a, [S; 14]> for &'a [S]
where [S; 14]: Frame,

Source§

fn from_frame_slice(slice: &'a [[S; 14]]) -> Self

Source§

impl<'a, S> FromFrameSlice<'a, [S; 15]> for &'a [S]
where [S; 15]: Frame,

Source§

fn from_frame_slice(slice: &'a [[S; 15]]) -> Self

Source§

impl<'a, S> FromFrameSlice<'a, [S; 16]> for &'a [S]
where [S; 16]: Frame,

Source§

fn from_frame_slice(slice: &'a [[S; 16]]) -> Self

Source§

impl<'a, S> FromFrameSlice<'a, [S; 17]> for &'a [S]
where [S; 17]: Frame,

Source§

fn from_frame_slice(slice: &'a [[S; 17]]) -> Self

Source§

impl<'a, S> FromFrameSlice<'a, [S; 18]> for &'a [S]
where [S; 18]: Frame,

Source§

fn from_frame_slice(slice: &'a [[S; 18]]) -> Self

Source§

impl<'a, S> FromFrameSlice<'a, [S; 19]> for &'a [S]
where [S; 19]: Frame,

Source§

fn from_frame_slice(slice: &'a [[S; 19]]) -> Self

Source§

impl<'a, S> FromFrameSlice<'a, [S; 20]> for &'a [S]
where [S; 20]: Frame,

Source§

fn from_frame_slice(slice: &'a [[S; 20]]) -> Self

Source§

impl<'a, S> FromFrameSlice<'a, [S; 21]> for &'a [S]
where [S; 21]: Frame,

Source§

fn from_frame_slice(slice: &'a [[S; 21]]) -> Self

Source§

impl<'a, S> FromFrameSlice<'a, [S; 22]> for &'a [S]
where [S; 22]: Frame,

Source§

fn from_frame_slice(slice: &'a [[S; 22]]) -> Self

Source§

impl<'a, S> FromFrameSlice<'a, [S; 23]> for &'a [S]
where [S; 23]: Frame,

Source§

fn from_frame_slice(slice: &'a [[S; 23]]) -> Self

Source§

impl<'a, S> FromFrameSlice<'a, [S; 24]> for &'a [S]
where [S; 24]: Frame,

Source§

fn from_frame_slice(slice: &'a [[S; 24]]) -> Self

Source§

impl<'a, S> FromFrameSlice<'a, [S; 25]> for &'a [S]
where [S; 25]: Frame,

Source§

fn from_frame_slice(slice: &'a [[S; 25]]) -> Self

Source§

impl<'a, S> FromFrameSlice<'a, [S; 26]> for &'a [S]
where [S; 26]: Frame,

Source§

fn from_frame_slice(slice: &'a [[S; 26]]) -> Self

Source§

impl<'a, S> FromFrameSlice<'a, [S; 27]> for &'a [S]
where [S; 27]: Frame,

Source§

fn from_frame_slice(slice: &'a [[S; 27]]) -> Self

Source§

impl<'a, S> FromFrameSlice<'a, [S; 28]> for &'a [S]
where [S; 28]: Frame,

Source§

fn from_frame_slice(slice: &'a [[S; 28]]) -> Self

Source§

impl<'a, S> FromFrameSlice<'a, [S; 29]> for &'a [S]
where [S; 29]: Frame,

Source§

fn from_frame_slice(slice: &'a [[S; 29]]) -> Self

Source§

impl<'a, S> FromFrameSlice<'a, [S; 30]> for &'a [S]
where [S; 30]: Frame,

Source§

fn from_frame_slice(slice: &'a [[S; 30]]) -> Self

Source§

impl<'a, S> FromFrameSlice<'a, [S; 31]> for &'a [S]
where [S; 31]: Frame,

Source§

fn from_frame_slice(slice: &'a [[S; 31]]) -> Self

Source§

impl<'a, S> FromFrameSlice<'a, [S; 32]> for &'a [S]
where [S; 32]: Frame,

Source§

fn from_frame_slice(slice: &'a [[S; 32]]) -> Self

Implementors§