Struct alsa::ctl::ElemValue
[−]
[src]
pub struct ElemValue { /* fields omitted */ }
snd_ctl_elem_value_t wrapper
Methods
impl ElemValue
[src]
fn get_boolean(&self, idx: u32) -> Option<bool>
fn set_boolean(&mut self, idx: u32, val: bool) -> Option<()>
fn get_integer(&self, idx: u32) -> Option<i32>
fn set_integer(&mut self, idx: u32, val: i32) -> Option<()>
fn get_integer64(&self, idx: u32) -> Option<i64>
fn set_integer64(&mut self, idx: u32, val: i64) -> Option<()>
fn get_enumerated(&self, idx: u32) -> Option<u32>
fn set_enumerated(&mut self, idx: u32, val: u32) -> Option<()>
fn get_byte(&self, idx: u32) -> Option<u8>
fn set_byte(&mut self, idx: u32, val: u8) -> Option<()>
fn get_bytes(&self) -> Option<&[u8]>
fn set_bytes(&mut self, val: &[u8]) -> Option<()>
fn new(t: ElemType) -> Result<ElemValue>
Creates a new ElemValue.