[][src]Struct fon::chan::Ch8

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

8-bit sample Channel.

Implementations

impl Ch8[src]

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

Create a new 8-bit Channel value.

Trait Implementations

impl<R: Into<Self>> Add<R> for Ch8[src]

type Output = Self

The resulting type after applying the + operator.

impl<R: Into<Self>> AddAssign<R> for Ch8[src]

impl Channel for Ch8[src]

impl Clone for Ch8[src]

impl Copy for Ch8[src]

impl Debug for Ch8[src]

impl Default for Ch8[src]

impl<R: Into<Self>> Div<R> for Ch8[src]

type Output = Self

The resulting type after applying the / operator.

impl<R: Into<Self>> DivAssign<R> for Ch8[src]

impl Eq for Ch8[src]

impl From<Ch16> for Ch8[src]

impl From<Ch32> for Ch8[src]

impl From<Ch64> for Ch8[src]

impl From<Ch8> for i8[src]

impl From<Ch8> for Ch16[src]

impl From<Ch8> for Ch32[src]

impl From<Ch8> for Ch64[src]

impl From<i8> for Ch8[src]

impl<R: Into<Self>> Mul<R> for Ch8[src]

type Output = Self

The resulting type after applying the * operator.

impl<R: Into<Self>> MulAssign<R> for Ch8[src]

impl Neg for Ch8[src]

type Output = Ch8

The resulting type after applying the - operator.

pub fn neg(self) -> Self[src]

Invert sound wave (-x).

impl Ord for Ch8[src]

impl PartialEq<Ch8> for Ch8[src]

impl PartialOrd<Ch8> for Ch8[src]

impl StructuralEq for Ch8[src]

impl StructuralPartialEq for Ch8[src]

impl<R: Into<Self>> Sub<R> for Ch8[src]

type Output = Self

The resulting type after applying the - operator.

impl<R: Into<Self>> SubAssign<R> for Ch8[src]

Auto Trait Implementations

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.