[][src]Struct i3ipc::reply::Output

pub struct Output {
    pub name: String,
    pub active: bool,
    pub primary: bool,
    pub current_workspace: Option<String>,
    pub rect: (i32, i32, i32, i32),
}

A single output (display)

Fields

name: String

The name of this output (as seen in xrandr).

active: bool

Whether the output is currently active (has a valid mode).

primary: bool

Whether the output is currently the primary output.

current_workspace: Option<String>

The name of the current workspace that is visible on this output. None if the output is not active.

rect: (i32, i32, i32, i32)

The rectangle of this output (equals the rect of the output it is on), consists of x, y, width, height.

Trait Implementations

impl Debug for Output[src]

Auto Trait Implementations

impl Send for Output

impl Sync for Output

Blanket Implementations

impl<T> From for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

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

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

The type returned in the event of a conversion error.