Struct leftwm_core::models::FocusManager [−][src]
pub struct FocusManager {
pub behaviour: FocusBehaviour,
pub focus_new_windows: bool,
pub workspace_history: VecDeque<usize>,
pub window_history: VecDeque<Option<WindowHandle>>,
pub tag_history: VecDeque<String>,
pub tags_last_window: HashMap<TagId, WindowHandle>,
}Fields
behaviour: FocusBehaviourfocus_new_windows: boolworkspace_history: VecDeque<usize>window_history: VecDeque<Option<WindowHandle>>tag_history: VecDeque<String>Implementations
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 currently focused window.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for FocusManager
impl Send for FocusManager
impl Sync for FocusManager
impl Unpin for FocusManager
impl UnwindSafe for FocusManager
Blanket Implementations
Mutably borrows from an owned value. Read more