Enum allegro_audio::AudioDepth [] [src]

pub enum AudioDepth {
    I8,
    I16,
    I24,
    U8,
    U16,
    U24,
    F32,
}

Variants

I8I16I24U8U16U24F32

Methods

impl AudioDepth
[src]

fn from_allegro(val: ALLEGRO_AUDIO_DEPTH) -> AudioDepth

fn get(&self) -> ALLEGRO_AUDIO_DEPTH

fn get_byte_size(&self) -> usize

Trait Implementations

impl PartialEq for AudioDepth
[src]

fn eq(&self, __arg_0: &AudioDepth) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, other: &Rhs) -> bool
1.0.0

This method tests for !=.

impl Clone for AudioDepth
[src]

fn clone(&self) -> AudioDepth

Returns a copy of the value. Read more

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

Performs copy-assignment from source. Read more

impl Copy for AudioDepth
[src]