#[repr(C)]
pub struct SkSmartAttributeParsedData {
Show 19 fields pub id: u8, pub name: *const c_char, pub pretty_unit: SkSmartAttributeUnit, pub flags: u16, pub threshold: u8, pub threshold_valid: SkBool, pub online: SkBool, pub prefailure: SkBool, pub good_now: SkBool, pub good_now_valid: SkBool, pub good_in_the_past: SkBool, pub good_in_the_past_valid: SkBool, pub current_value_valid: SkBool, pub worst_value_valid: SkBool, pub warn: SkBool, pub current_value: u8, pub worst_value: u8, pub pretty_value: u64, pub raw: [u8; 6],
}

Fields§

§id: u8§name: *const c_char§pretty_unit: SkSmartAttributeUnit§flags: u16§threshold: u8§threshold_valid: SkBool§online: SkBool§prefailure: SkBool§good_now: SkBool§good_now_valid: SkBool§good_in_the_past: SkBool§good_in_the_past_valid: SkBool§current_value_valid: SkBool§worst_value_valid: SkBool§warn: SkBool§current_value: u8§worst_value: u8§pretty_value: u64§raw: [u8; 6]

Trait Implementations§

Formats the value using the given formatter. Read more

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 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.