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

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

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

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

Whether the output is currently the primary output.

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

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]

[src]

Formats the value using the given formatter.