Struct leftwm_core::models::Screen
source · pub struct Screen {
pub root: WindowHandle,
pub output: String,
pub id: Option<WorkspaceId>,
pub bbox: BBox,
pub max_window_width: Option<Size>,
}
Fields§
§root: WindowHandle
§output: String
§id: Option<WorkspaceId>
§bbox: BBox
§max_window_width: Option<Size>
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Screen
impl<'de> Deserialize<'de> for Screen
source§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
source§impl From<&XWindowAttributes> for Screen
impl From<&XWindowAttributes> for Screen
source§fn from(root: &XWindowAttributes) -> Self
fn from(root: &XWindowAttributes) -> Self
Converts to this type from the input type.
source§impl From<&XineramaScreenInfo> for Screen
impl From<&XineramaScreenInfo> for Screen
source§fn from(root: &XineramaScreenInfo) -> Self
fn from(root: &XineramaScreenInfo) -> Self
Converts to this type from the input type.
source§impl From<XRRCrtcInfo> for Screen
impl From<XRRCrtcInfo> for Screen
source§fn from(root: XRRCrtcInfo) -> Self
fn from(root: XRRCrtcInfo) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for Screen
impl Send for Screen
impl Sync for Screen
impl Unpin for Screen
impl UnwindSafe for Screen
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