[−][src]Struct i3ipc::reply::Workspace
A single workspace.
Fields
num: i32
The logical number of the workspace. Corresponds to the command to switch to this workspace. For named workspaces, this will be -1.
name: String
The name of this workspace (by default num+1), as changed by the user.
visible: bool
Whether this workspace is currently visible on an output (multiple workspaces can be visible at the same time).
focused: bool
Whether this workspace currently has the focus (only one workspace can have the focus at the same time).
urgent: bool
Whether a window on this workspace has the "urgent" flag set.
rect: (i32, i32, i32, i32)
The rectangle of this workspace (equals the rect of the output it is on), consists of x, y, width, height.
output: String
The video output this workspace is on (LVDS1, VGA1, …).
Trait Implementations
Auto Trait Implementations
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,