[−][src]Trait sysfs_class::Brightness
Provided methods
fn brightness(&self) -> Result<u64>
fn max_brightness(&self) -> Result<u64>
fn set_brightness(&self, input: u64) -> Result<()>
fn set_if_lower_than(&self, percent: u64) -> Result<()>
Sets the new
brightness level if it is less than the current brightness.
Returns the brightness level that was set at the time of exiting the function.