Struct mccs_db::Descriptor [] [src]

pub struct Descriptor {
    pub name: Option<String>,
    pub description: Option<String>,
    pub group: Option<String>,
    pub code: FeatureCode,
    pub ty: ValueType,
    pub access: Access,
    pub mandatory: bool,
    pub interacts_with: Vec<FeatureCode>,
}

Describes a VCP feature code's functionality and value format.

Fields

The name of the feature.

A detailed description of the feature.

The MCCS grouping this feature belongs to.

The VCP code of the feature.

The data type of the feature.

Whether the feature can be set, read, or both.

Whether the feature is required to be supported by the display for MCCS specification compliance.

Any other feature codes that this "interacts" with.

Changing this feature's value may also affect the value of these other listed features.

Trait Implementations

impl Debug for Descriptor
[src]

[src]

Formats the value using the given formatter. Read more

impl Default for Descriptor
[src]

[src]

Returns the "default value" for a type. Read more

impl Clone for Descriptor
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more