[][src]Struct i3status_rs::blocks::xrandr::Monitor

struct Monitor {
    name: String,
    brightness: u32,
    resolution: String,
}

Fields

name: Stringbrightness: u32resolution: String

Implementations

impl Monitor[src]

fn new(name: &str, brightness: u32, resolution: &str) -> Self[src]

fn set_brightness(&mut self, step: i32)[src]

Auto Trait Implementations

impl RefUnwindSafe for Monitor[src]

impl Send for Monitor[src]

impl Sync for Monitor[src]

impl Unpin for Monitor[src]

impl UnwindSafe for Monitor[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.