[][src]Struct fon::surround::Surround

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

Surround Sound 5.1 sample format (front left channel, rear left channel, rear right, front right channel, center, lfe).

Implementations

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

pub fn new<H>(one: H, two: H, three: H, four: H, five: H, six: H) -> Self where
    C: From<H>, 
[src]

Create a one-channel Sample.

Trait Implementations

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

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

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

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

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

impl<C: Channel> Sample for Surround<C>[src]

type Chan = C

Channel type

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

Auto Trait Implementations

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

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

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

impl<C> Unpin for Surround<C> where
    C: Unpin
[src]

impl<C> UnwindSafe for Surround<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<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.