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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more