Enum allegro_audio::ChannelConf
source · pub enum ChannelConf {
Conf1,
Conf2,
Conf3,
Conf4,
Conf51,
Conf61,
Conf71,
}
Variants§
Implementations§
source§impl ChannelConf
impl ChannelConf
pub fn from_allegro(val: ALLEGRO_CHANNEL_CONF) -> ChannelConf
pub fn get(&self) -> ALLEGRO_CHANNEL_CONF
pub fn get_num_channels(&self) -> usize
Trait Implementations§
source§impl Clone for ChannelConf
impl Clone for ChannelConf
source§fn clone(&self) -> ChannelConf
fn clone(&self) -> ChannelConf
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