Struct leftwm_core::Manager[][src]

pub struct Manager<C, SERVER> {
    pub state: State<C>,
    pub display_server: SERVER,
    // some fields omitted
}
Expand description

Maintains current program state.

Fields

state: State<C>display_server: SERVER

Implementations

Processes a command and invokes the associated function.

Process a collection of events, and apply them changes to a manager. Returns true if changes need to be rendered.

Marks a workspace as the focused workspace.

Create a DisplayAction to cause this window to become focused

marks a tag as the focused tag

Create an action to inform the DM of the new current tags.

Process a collection of events, and apply them changes to a manager.

Returns true if changes need to be rendered.

Process a collection of events, and apply them changes to a manager. Returns true if changes need to be rendered.

Process a collection of events, and apply them changes to a manager. Returns true if changes need to be rendered.

Return the currently focused workspace.

Return the currently focused workspace.

Return the currently focused tag if the offset is 0. Offset is used to reach further down the history.

Return the index of a given tag.

Return the currently focused window.

Return the currently focused window.

Soft reload the worker without saving state.

Apply saved state to a running manager.

Trait Implementations

Formats the value using the given formatter. Read more

Performs the conversion.

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

Performs the conversion.

Performs the conversion.

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.