Struct leftwm::Workspace [−][src]
pub struct Workspace { pub id: i32, pub layout: Layout, pub tags: Vec<TagId>, pub margin: Margins, pub margin_multiplier: f32, pub gutters: Vec<Gutter>, pub avoid: Vec<Xyhw>, pub xyhw: Xyhw, // some fields omitted }
Expand description
Information for workspaces (screen divisions).
Fields
id: i32
layout: Layout
Active layout
margin: Margins
margin_multiplier: f32
gutters: Vec<Gutter>
avoid: Vec<Xyhw>
xyhw: Xyhw
Implementations
Returns true if the workspace is displays a given window.
Returns true if the workspace is to update the locations info of this window.
Set the tag model’s margin multiplier.
Get a reference to the tag model’s margin multiplier.
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 Workspace
impl UnwindSafe for Workspace
Blanket Implementations
Mutably borrows from an owned value. Read more
impl<T> Any for T where
T: Any,