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<String, Option<u32>>, 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<String, Option<u32>>actions: VecDeque<DisplayAction>tags: Tagsmousekey: Vec<String>max_window_width: Option<Size>default_width: i32default_height: i32disable_tile_drag: boolinsert_behavior: InsertBehavior

Implementations

Focuses the given window.

Focuses the given workspace.

Focuses the given tag.

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.

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.