pub struct FrontlightConfig {
pub brightness_path: String,
pub mixer_path: Option<String>,
pub nl_min: u32,
pub nl_max: u32,
pub nl_inverted: bool,
}Fields§
§brightness_path: String§mixer_path: Option<String>§nl_min: u32§nl_max: u32§nl_inverted: boolTrait Implementations§
Source§impl Clone for FrontlightConfig
impl Clone for FrontlightConfig
Source§fn clone(&self) -> FrontlightConfig
fn clone(&self) -> FrontlightConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FrontlightConfig
impl Debug for FrontlightConfig
Auto Trait Implementations§
impl Freeze for FrontlightConfig
impl RefUnwindSafe for FrontlightConfig
impl Send for FrontlightConfig
impl Sync for FrontlightConfig
impl Unpin for FrontlightConfig
impl UnsafeUnpin for FrontlightConfig
impl UnwindSafe for FrontlightConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more