[−][src]Struct fon::sample::Sample6
Sample with six channels.
Implementations
impl<C: Channel, F: Config> Sample6<C, F>
[src]
pub fn new<H>(one: H, two: H, three: H, four: H, five: H, six: H) -> Self where
C: From<H>,
[src]
C: From<H>,
Create a six-channel Sample.
Trait Implementations
impl<C: Clone + Channel, F: Clone + Config> Clone for Sample6<C, F>
[src]
impl<C: Copy + Channel, F: Copy + Config> Copy for Sample6<C, F>
[src]
impl<C: Debug + Channel, F: Debug + Config> Debug for Sample6<C, F>
[src]
impl<C: Default + Channel, F: Default + Config> Default for Sample6<C, F>
[src]
impl<C: PartialEq + Channel, F: PartialEq + Config> PartialEq<Sample6<C, F>> for Sample6<C, F>
[src]
impl<C: Channel, F: Config> Sample for Sample6<C, F>
[src]
type Chan = C
Channel type
type Conf = F
Number of channels
fn channels(&self) -> &[Self::Chan]
[src]
fn channels_mut(&mut self) -> &mut [Self::Chan]
[src]
fn from_channels(ch: &[Self::Chan]) -> Self
[src]
fn lerp(&self, rhs: Self, t: Self) -> Self
[src]
fn blend_sample<O>(dst: &mut [Self], sample: &Self, op: O) where
O: Blend,
[src]
O: Blend,
fn blend_slice<O>(dst: &mut [Self], src: &[Self], op: O) where
O: Blend,
[src]
O: Blend,
fn blend<O>(&mut self, src: &Self, _op: O) where
O: Blend,
[src]
O: Blend,
fn convert<D>(self) -> D where
D: Sample,
D::Chan: From<Self::Chan> + From<f64>,
[src]
D: Sample,
D::Chan: From<Self::Chan> + From<f64>,
impl<C: Channel, F: Config> StructuralPartialEq for Sample6<C, F>
[src]
Auto Trait Implementations
impl<C, F> RefUnwindSafe for Sample6<C, F> where
C: RefUnwindSafe,
F: RefUnwindSafe,
C: RefUnwindSafe,
F: RefUnwindSafe,
impl<C, F> Send for Sample6<C, F> where
C: Send,
F: Send,
C: Send,
F: Send,
impl<C, F> Sync for Sample6<C, F> where
C: Sync,
F: Sync,
C: Sync,
F: Sync,
impl<C, F> Unpin for Sample6<C, F> where
C: Unpin,
F: Unpin,
C: Unpin,
F: Unpin,
impl<C, F> UnwindSafe for Sample6<C, F> where
C: UnwindSafe,
F: UnwindSafe,
C: UnwindSafe,
F: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,