Expand description
The different kind of settings along with descriptor bits that depend on the kind.
Variants
Bool
Fields
bit: u8
0-7.
A boolean setting only uses one bit, numbered from LSB.
Num
A numerical setting uses the whole byte.
Enum
Fields
last: u8
Numerical value of last enumerator, allowing for 1-256 enumerators.
enumerators: u16
First enumerator in the ENUMERATORS table.
An Enum setting uses a range of enumerators.
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 RefUnwindSafe for Detail
impl Send for Detail
impl Sync for Detail
impl Unpin for Detail
impl UnwindSafe for Detail
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more