[][src]Struct fon::chan::Ch32

#[repr(transparent)]pub struct Ch32(_);

32-bit sample Channel.

Implementations

impl Ch32[src]

pub const fn new(value: f32) -> Self[src]

Create a new 32-bit Channel value.

Trait Implementations

impl<R> Add<R> for Ch32 where
    Self: From<R>, 
[src]

type Output = Self

The resulting type after applying the + operator.

impl Channel for Ch32[src]

fn lerp(self, rhs: Self, t: Self) -> Self[src]

Linear interpolation

impl Clone for Ch32[src]

impl Copy for Ch32[src]

impl Debug for Ch32[src]

impl Default for Ch32[src]

impl<R> Div<R> for Ch32 where
    Self: From<R>, 
[src]

type Output = Self

The resulting type after applying the / operator.

impl Eq for Ch32[src]

impl From<Ch16> for Ch32[src]

impl From<Ch32> for f32[src]

impl From<Ch32> for Ch8[src]

impl From<Ch32> for Ch16[src]

impl From<Ch32> for Ch64[src]

impl From<Ch64> for Ch32[src]

impl From<Ch8> for Ch32[src]

impl From<f32> for Ch32[src]

impl From<f64> for Ch32[src]

impl<R> Mul<R> for Ch32 where
    Self: From<R>, 
[src]

type Output = Self

The resulting type after applying the * operator.

impl Neg for Ch32[src]

type Output = Ch32

The resulting type after applying the - operator.

fn neg(self) -> Self[src]

Invert sound wave (-x).

impl Ord for Ch32[src]

impl PartialEq<Ch32> for Ch32[src]

impl PartialOrd<Ch32> for Ch32[src]

impl StructuralPartialEq for Ch32[src]

impl<R> Sub<R> for Ch32 where
    Self: From<R>, 
[src]

type Output = Self

The resulting type after applying the - operator.

Auto Trait Implementations

impl RefUnwindSafe for Ch32

impl Send for Ch32

impl Sync for Ch32

impl Unpin for Ch32

impl UnwindSafe for Ch32

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.