Struct ddcutil::FeatureInfo
[−]
[src]
pub struct FeatureInfo {
pub name: String,
pub description: String,
pub value_names: HashMap<u8, String>,
pub flags: FeatureFlags,
}Fields
name: String
description: String
value_names: HashMap<u8, String>
flags: FeatureFlags
Methods
impl FeatureInfo[src]
pub fn from_code(code: FeatureCode, version: MccsVersion) -> Result<Self>[src]
pub unsafe fn from_raw(raw: &DDCA_Version_Feature_Info) -> Self[src]
Trait Implementations
impl Debug for FeatureInfo[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl Clone for FeatureInfo[src]
fn clone(&self) -> FeatureInfo[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl PartialEq for FeatureInfo[src]
fn eq(&self, __arg_0: &FeatureInfo) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &FeatureInfo) -> bool[src]
This method tests for !=.