pub struct StripDevice<'a> { /* private fields */ }Available on crate feature
interface only.Expand description
Bus device parameters
Implementations§
Source§impl<'a> StripDevice<'a>
impl<'a> StripDevice<'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 strip: Strip[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> Freeze for StripDevice<'a>
impl<'a> RefUnwindSafe for StripDevice<'a>
impl<'a> Send for StripDevice<'a>
impl<'a> Sync for StripDevice<'a>
impl<'a> Unpin for StripDevice<'a>
impl<'a> UnwindSafe for StripDevice<'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