[][src]Struct fon::mono::Mono

#[repr(transparent)]pub struct Mono<C: Channel> { /* fields omitted */ }

Mono audio format (Audio Frame containing one Channel).

Implementations

impl<C: Channel> Mono<C>[src]

pub fn new<H>(one: H) -> Self where
    C: From<H>, 
[src]

Create a one-channel audio Frame.

Trait Implementations

impl<C: Channel> Add<Mono<C>> for Mono<C>[src]

type Output = Mono<C>

The resulting type after applying the + operator.

impl<C: Channel> AddAssign<Mono<C>> for Mono<C>[src]

impl<C: Clone + Channel> Clone for Mono<C>[src]

impl<C: Copy + Channel> Copy for Mono<C>[src]

impl<C: Debug + Channel> Debug for Mono<C>[src]

impl<C: Default + Channel> Default for Mono<C>[src]

impl<C: Channel> Div<Mono<C>> for Mono<C>[src]

type Output = Mono<C>

The resulting type after applying the / operator.

impl<C: Channel> DivAssign<Mono<C>> for Mono<C>[src]

impl<C: Channel> Frame for Mono<C>[src]

type Chan = C

Channel type

impl<C: Channel> Iterator for Mono<C>[src]

type Item = Self

The type of the elements being iterated over.

impl<C: Channel> Mul<Mono<C>> for Mono<C>[src]

type Output = Mono<C>

The resulting type after applying the * operator.

impl<C: Channel> MulAssign<Mono<C>> for Mono<C>[src]

impl<C: Channel> Neg for Mono<C>[src]

type Output = Mono<C>

The resulting type after applying the - operator.

impl<C: PartialEq + Channel> PartialEq<Mono<C>> for Mono<C>[src]

impl<C: Channel> StructuralPartialEq for Mono<C>[src]

impl<C: Channel> Sub<Mono<C>> for Mono<C>[src]

type Output = Mono<C>

The resulting type after applying the - operator.

impl<C: Channel> SubAssign<Mono<C>> for Mono<C>[src]

Auto Trait Implementations

impl<C> RefUnwindSafe for Mono<C> where
    C: RefUnwindSafe
[src]

impl<C> Send for Mono<C> where
    C: Send
[src]

impl<C> Sync for Mono<C> where
    C: Sync
[src]

impl<C> Unpin for Mono<C>[src]

impl<C> UnwindSafe for Mono<C> where
    C: UnwindSafe
[src]

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<I> IntoIterator for I where
    I: Iterator
[src]

type Item = <I as Iterator>::Item

The type of the elements being iterated over.

type IntoIter = I

Which kind of iterator are we turning this into?

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.