[][src]Struct beryllium::AudioFormat

pub struct AudioFormat(_);

Specifies a particular sample data format.

Methods

impl AudioFormat[src]

pub const BIT_SIZE_MASK: u16[src]

pub const fn bit_size(self) -> u16[src]

pub const fn with_bit_size(self, bit_size: u16) -> Self[src]

pub const FLOATING_BIT: u16[src]

pub const fn floating(self) -> bool[src]

pub const fn with_floating(self, bit: bool) -> Self[src]

pub const BIG_ENDIAN_BIT: u16[src]

pub const fn big_endian(self) -> bool[src]

pub const fn with_big_endian(self, bit: bool) -> Self[src]

pub const SIGNED_BIT: u16[src]

pub const fn signed(self) -> bool[src]

pub const fn with_signed(self, bit: bool) -> Self[src]

pub const S8: AudioFormat[src]

pub const U8: AudioFormat[src]

pub const S16LSB: AudioFormat[src]

pub const S16MSB: AudioFormat[src]

pub const S16SYS: AudioFormat[src]

pub const S16: AudioFormat[src]

pub const U16LSB: AudioFormat[src]

pub const U16MSB: AudioFormat[src]

pub const U16SYS: AudioFormat[src]

pub const U16: AudioFormat[src]

pub const S32LSB: AudioFormat[src]

pub const S32MSB: AudioFormat[src]

pub const S32SYS: AudioFormat[src]

pub const S32: AudioFormat[src]

pub const F32LSB: AudioFormat[src]

pub const F32MSB: AudioFormat[src]

pub const F32SYS: AudioFormat[src]

pub const F32: AudioFormat[src]

Trait Implementations

impl From<u16> for AudioFormat[src]

impl Clone for AudioFormat[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Copy for AudioFormat[src]

impl Debug for AudioFormat[src]

Auto Trait Implementations

Blanket Implementations

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.

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

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

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