[−][src]Struct beryllium::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]
fn from(format: SDL_AudioFormat) -> Self
[src]
impl Clone for AudioFormat
[src]
fn clone(&self) -> 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
impl Send for AudioFormat
impl Unpin for AudioFormat
impl Sync for AudioFormat
impl UnwindSafe for AudioFormat
impl RefUnwindSafe for AudioFormat
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,