Struct ddcutil::Display
[−]
[src]
pub struct Display { /* fields omitted */ }
Methods
impl Display
[src]
pub unsafe fn from_raw(handle: DDCA_Display_Handle) -> Self
[src]
pub fn capabilities_string(&self) -> Result<CString>
[src]
pub fn capabilities(&self) -> Result<Capabilities>
[src]
pub fn vcp_set_simple(&self, code: FeatureCode, value: u8) -> Result<()>
[src]
pub fn vcp_set_raw(&self, code: FeatureCode, value: u16) -> Result<()>
[src]
pub fn vcp_set_continuous(&self, code: FeatureCode, value: i32) -> Result<()>
[src]
pub fn vcp_get_value(&self, code: FeatureCode) -> Result<Value>
[src]
pub fn vcp_get_table(&self, code: FeatureCode) -> Result<Vec<u8>>
[src]
pub fn raw(&self) -> DDCA_Display_Handle
[src]
Trait Implementations
impl Debug for Display
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more