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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more