Struct ddcutil::Capabilities
[−]
[src]
pub struct Capabilities { pub version: MccsVersion, pub features: HashMap<FeatureCode, Vec<u8>>, }
Fields
version: MccsVersion
features: HashMap<FeatureCode, Vec<u8>>
Methods
impl Capabilities
[src]
pub unsafe fn from_raw(raw: &DDCA_Capabilities) -> Self
[src]
pub fn from_cstr(caps: &CStr) -> Result<Self>
[src]
Trait Implementations
impl Debug for Capabilities
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for Capabilities
[src]
fn clone(&self) -> Capabilities
[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 Capabilities
[src]
fn eq(&self, __arg_0: &Capabilities) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Capabilities) -> bool
[src]
This method tests for !=
.