Struct ao_rs::Driver
[−]
[src]
pub struct Driver { /* fields omitted */ }
Ao driver.
Methods
impl Driver
[src]
pub fn new() -> Result<Self, Error>
[src]
Creates and returns (if-any) the default driver.
pub fn with_name(short_name: &str) -> Result<Self, Error>
[src]
pub fn driver_id(&self) -> i32
[src]
Returns the driver id.