Struct cubeb_core::Device
[−]
[src]
pub struct Device(_);
Methods
impl Device
[src]
pub unsafe fn from_ptr(ptr: *mut cubeb_device) -> Device
[src]
pub fn as_ptr(&self) -> *mut cubeb_device
[src]
Methods from Deref<Target = DeviceRef>
pub fn as_ptr(&self) -> *mut cubeb_device
[src]
pub fn output_name(&self) -> Option<&str>
[src]
Gets the output device name.
May return None
if there is no output device.
pub fn output_name_bytes(&self) -> Option<&[u8]>
[src]
pub fn input_name(&self) -> Option<&str>
[src]
Gets the input device name.
May return None
if there is no input device.
pub fn input_name_bytes(&self) -> Option<&[u8]>
[src]
Trait Implementations
impl Debug for Device
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Deref for Device
[src]
type Target = DeviceRef
The resulting type after dereferencing.
fn deref(&self) -> &DeviceRef
[src]
Dereferences the value.