pub struct WorkspaceData {
pub name: String,
pub width: u16,
pub height: u16,
pub monitor: MonitorId,
pub any_client_enabled: bool,
}Fields§
§name: String§width: u16§height: u16§monitor: MonitorId§any_client_enabled: boolTrait Implementations§
Source§impl Clone for WorkspaceData
impl Clone for WorkspaceData
Source§fn clone(&self) -> WorkspaceData
fn clone(&self) -> WorkspaceData
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WorkspaceData
impl Debug for WorkspaceData
Source§impl FindByFirst<i32, WorkspaceData> for [(WorkspaceId, WorkspaceData)]
impl FindByFirst<i32, WorkspaceData> for [(WorkspaceId, WorkspaceData)]
fn find_by_first(&self, id: &WorkspaceId) -> Option<&WorkspaceData>
Auto Trait Implementations§
impl Freeze for WorkspaceData
impl RefUnwindSafe for WorkspaceData
impl Send for WorkspaceData
impl Sync for WorkspaceData
impl Unpin for WorkspaceData
impl UnsafeUnpin for WorkspaceData
impl UnwindSafe for WorkspaceData
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more