pub struct State {
Show 17 fields pub screens: Vec<Screen>, pub windows: Vec<Window>, pub workspaces: Vec<Workspace>, pub focus_manager: FocusManager, pub layout_manager: LayoutManager, pub mode: Mode, pub layouts: Vec<Layout>, pub scratchpads: Vec<ScratchPad>, pub active_scratchpads: HashMap<ScratchPadName, VecDeque<ChildID>>, pub actions: VecDeque<DisplayAction>, pub tags: Tags, pub mousekey: Vec<String>, pub max_window_width: Option<Size>, pub default_width: i32, pub default_height: i32, pub disable_tile_drag: bool, pub insert_behavior: InsertBehavior,
}

Fields

screens: Vec<Screen>windows: Vec<Window>workspaces: Vec<Workspace>focus_manager: FocusManagerlayout_manager: LayoutManagermode: Modelayouts: Vec<Layout>scratchpads: Vec<ScratchPad>active_scratchpads: HashMap<ScratchPadName, VecDeque<ChildID>>actions: VecDeque<DisplayAction>tags: Tagsmousekey: Vec<String>max_window_width: Option<Size>default_width: i32default_height: i32disable_tile_drag: boolinsert_behavior: InsertBehavior

Implementations

Focuses a window based upon the FocusBehaviour

Focuses the given window.

Focuses the given workspace.

Focuses the given tag.

Focuses the workspace containing a given point.

Focuses the window containing a given point.

Validates that the given window is focused.

Apply saved state to a running manager.

Trait Implementations

Formats the value using the given formatter. Read more
Deserialize this value from the given Serde deserializer. Read more
Converts to this type from the input type.
Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more