pub struct Feature {
    pub kind: u16,
    pub setting: u16,
    pub enable_flags: u32,
    pub disable_flags: u32,
}
Expand description

The feature table is used to compute the sub-feature flags for a list of requested features and settings.

Fields

kind: u16

The type of feature.

setting: u16

The feature’s setting (aka selector).

enable_flags: u32

Flags for the settings that this feature and setting enables.

disable_flags: u32

Complement of flags for the settings that this feature and setting disable.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Object’s raw data size. Read more

Parses an object from a raw data.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.