Enum allegro_audio::AudioDepth
source · pub enum AudioDepth {
I8,
I16,
I24,
U8,
U16,
U24,
F32,
}
Variants§
Implementations§
source§impl AudioDepth
impl AudioDepth
pub fn from_allegro(val: ALLEGRO_AUDIO_DEPTH) -> AudioDepth
pub fn get(&self) -> ALLEGRO_AUDIO_DEPTH
pub fn get_byte_size(&self) -> usize
Trait Implementations§
source§impl Clone for AudioDepth
impl Clone for AudioDepth
source§fn clone(&self) -> AudioDepth
fn clone(&self) -> AudioDepth
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more