Struct ddc_enhanced_rs::EnhancedDisplay
source · [−]pub struct EnhancedDisplay(_);Implementations
sourceimpl EnhancedDisplay
impl EnhancedDisplay
pub fn get_value(
&mut self,
code: FeatureCode,
error: String
) -> Result<VcpValue, String>
pub fn set_value(
&mut self,
code: FeatureCode,
error: String,
value: u16
) -> Result<(), String>
pub fn get(id: String) -> Result<EnhancedDisplay, String>
pub fn list_infos() -> Vec<DisplayInfo>
pub fn get_brightness(&mut self) -> Result<VcpValue, String>
pub fn set_brightness(&mut self, value: u16) -> Result<(), String>
pub fn get_contrast(&mut self) -> Result<VcpValue, String>
pub fn set_contrast(&mut self, value: u16) -> Result<(), String>
Auto Trait Implementations
impl RefUnwindSafe for EnhancedDisplay
impl Send for EnhancedDisplay
impl Sync for EnhancedDisplay
impl Unpin for EnhancedDisplay
impl UnwindSafe for EnhancedDisplay
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more