#[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],
}
Formats the value using the given formatter.
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.