Struct leftwm_core::config::Workspace
source · [−]pub struct Workspace {
pub x: i32,
pub y: i32,
pub height: i32,
pub width: i32,
pub id: Option<i32>,
pub max_window_width: Option<Size>,
pub layouts: Option<Vec<Layout>>,
}
Fields
x: i32
y: i32
height: i32
width: i32
id: Option<i32>
max_window_width: Option<Size>
layouts: Option<Vec<Layout>>
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Workspace
impl<'de> Deserialize<'de> for Workspace
sourcefn 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
impl StructuralPartialEq for Workspace
Auto Trait Implementations
impl RefUnwindSafe for Workspace
impl Send for Workspace
impl Sync for Workspace
impl Unpin for Workspace
impl UnwindSafe for Workspace
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more