Struct voicemeeter::interface::parameters::bus::BusDevice
source · pub struct BusDevice<'a> { /* private fields */ }
Available on crate feature
interface
only.Expand description
Bus device parameters
Implementations§
source§impl<'a> BusDevice<'a>
impl<'a> BusDevice<'a>
sourcepub fn param(&self, dot: impl ToString) -> Cow<'static, ParameterNameRef>
pub fn param(&self, dot: impl ToString) -> Cow<'static, ParameterNameRef>
Get the identifier for a device parameter on this bus: Bus[i].device.{dot}
sourcepub fn name(&self) -> StringParameter<'a, false, true>
pub fn name(&self) -> StringParameter<'a, false, true>
Name of the device.
sourcepub fn sr(&self) -> IntParameter<'a, false, true>
pub fn sr(&self) -> IntParameter<'a, false, true>
Samplerate of the device.
sourcepub fn wdm(&self) -> StringParameter<'a, true, false>
pub fn wdm(&self) -> StringParameter<'a, true, false>
WDM device
sourcepub fn ks(&self) -> StringParameter<'a, true, false>
pub fn ks(&self) -> StringParameter<'a, true, false>
KS device
sourcepub fn mme(&self) -> StringParameter<'a, true, false>
pub fn mme(&self) -> StringParameter<'a, true, false>
MME device
sourcepub fn asio(&self) -> StringParameter<'a, true, false>
pub fn asio(&self) -> StringParameter<'a, true, false>
ASIO device
Auto Trait Implementations§
impl<'a> RefUnwindSafe for BusDevice<'a>
impl<'a> Send for BusDevice<'a>
impl<'a> Sync for BusDevice<'a>
impl<'a> Unpin for BusDevice<'a>
impl<'a> UnwindSafe for BusDevice<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more