[−][src]Struct leftwm::Manager
Fields
screens: Vec<Screen>
windows: Vec<Window>
workspaces: Vec<Workspace>
mode: Mode
theme_setting: ThemeSetting
focused_workspace_history: VecDeque<usize>
focused_window_history: VecDeque<WindowHandle>
focused_tag_history: VecDeque<String>
actions: VecDeque<DisplayAction>
reload_requested: bool
Implementations
impl Manager
[src]
pub fn focused_workspace(&self) -> Option<&Workspace>
[src]
Return the currently focused workspace.
pub fn focused_workspace_mut(&mut self) -> Option<&mut Workspace>
[src]
Return the currently focused workspace.
pub fn focused_tag(&self) -> Option<String>
[src]
Return the currently focused tag.
pub fn focused_window(&self) -> Option<&Window>
[src]
Return the currently focused window.
pub fn focused_window_mut(&mut self) -> Option<&mut Window>
[src]
Return the currently focused window.
pub fn tags_display(&self) -> String
[src]
pub fn workspaces_display(&self) -> String
[src]
pub fn windows_display(&self) -> String
[src]
pub fn soft_reload(&mut self)
[src]
Soft reload the worker.
First write current state to a file and then exit current process.
pub fn hard_reload(&mut self)
[src]
Reload the worker without saving state.
Trait Implementations
impl Clone for Manager
[src]
impl Debug for Manager
[src]
impl Default for Manager
[src]
impl<'de> Deserialize<'de> for Manager
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl<'_> From<&'_ Manager> for ManagerState
[src]
impl Serialize for Manager
[src]
Auto Trait Implementations
impl RefUnwindSafe for Manager
impl Send for Manager
impl Sync for Manager
impl Unpin for Manager
impl UnwindSafe for Manager
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Any for T where
T: Any,
T: Any,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> CloneAny for T where
T: Clone + Any,
T: Clone + Any,
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> SendSyncUnwindSafe for T where
T: Send + Sync + UnwindSafe + ?Sized,
[src]
T: Send + Sync + UnwindSafe + ?Sized,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> 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, U> TryInto<U> 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<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,