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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)