Struct leftwm_core::models::Screen
source · pub struct Screen {
pub root: WindowHandle,
pub output: String,
pub bbox: BBox,
pub max_window_width: Option<Size>,
}
Fields§
§root: WindowHandle
§output: String
§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.