[][src]Struct wavy::S16LEx2

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

Frame with Stereo Signed 16-Bit Little Endian format. Always 32 bits.

Implementations

impl S16LEx2[src]

pub fn new(left: i16, right: i16) -> Self[src]

Create a new frame from sample in the target platform's native endian.

pub fn left(self) -> i16[src]

Get the left sample in the target platform's native endian.

pub fn right(self) -> i16[src]

Get the right sample in the target platform's native endian.

pub fn bytes(self) -> [u8; 4][src]

Get a byte representation of this frame.

Trait Implementations

impl Clone for S16LEx2[src]

impl Copy for S16LEx2[src]

impl Debug for S16LEx2[src]

impl Default for S16LEx2[src]

Auto Trait Implementations

impl RefUnwindSafe for S16LEx2

impl Send for S16LEx2

impl Sync for S16LEx2

impl Unpin for S16LEx2

impl UnwindSafe for S16LEx2

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.