Struct ddc_hi::VcpValue [] [src]

pub struct VcpValue {
    pub ty: u8,
    pub mh: u8,
    pub ml: u8,
    pub sh: u8,
    pub sl: u8,
}

VCP Value

Fields

Specifies the type of the value, continuous or non-continuous.

The high byte of the maximum allowed value.

The low byte of the maximum allowed value.

The high byte of the value.

The low byte of the value.

Methods

impl Value
[src]

[src]

Create a new Value from a scalar value.

Other fields are left as default.

[src]

Combines the value bytes into a single value.

[src]

Combines the maximum value bytes into a single value.

[src]

VCP feature type, if recognized.

Trait Implementations

impl CommandResult for Value
[src]

MAX_LEN: usize = 8

[src]

impl Ord for Value
[src]

[src]

This method returns an Ordering between self and other. Read more

1.21.0
[src]

Compares and returns the maximum of two values. Read more

1.21.0
[src]

Compares and returns the minimum of two values. Read more

impl PartialOrd<Value> for Value
[src]

[src]

This method returns an ordering between self and other values if one exists. Read more

[src]

This method tests less than (for self and other) and is used by the < operator. Read more

[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Copy for Value
[src]

impl Eq for Value
[src]

impl Hash for Value
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl PartialEq<Value> for Value
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Clone for Value
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Value
[src]

[src]

Formats the value using the given formatter. Read more

impl Default for Value
[src]

[src]

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

Auto Trait Implementations

impl Send for Value

impl Sync for Value