Enum Detail
pub enum Detail {
Bool {
bit: u8,
},
Num,
Enum {
last: u8,
enumerators: u16,
},
Preset,
}
Expand description
The different kind of settings along with descriptor bits that depend on the kind.
Variants§
Bool
A boolean setting only uses one bit, numbered from LSB.
Num
A numerical setting uses the whole byte.
Enum
An Enum setting uses a range of enumerators.
Fields
Preset
A preset is not an individual setting, it is a collection of settings applied at once.
The Descriptor::offset
field refers to the PRESETS
table.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Detail
impl RefUnwindSafe for Detail
impl Send for Detail
impl Sync for Detail
impl Unpin for Detail
impl UnwindSafe for Detail
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