pub enum Type {
Stateless,
Boolean,
Number {
range: (f64, f64),
step: f32,
},
String,
Bitmask,
Menu(Vec<MenuItem>),
}Expand description
Device control type
Variants§
Stateless
Stateless controls
Boolean
On/Off switch
Number
Numerical control
String
String control
Bitmask
Bit field
Menu(Vec<MenuItem>)
Menu containing an arbitrary number of items
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Type
impl RefUnwindSafe for Type
impl Send for Type
impl Sync for Type
impl Unpin for Type
impl UnwindSafe for Type
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