Struct leftwm_core::models::Screen
source · [−]pub struct Screen {
pub root: WindowHandle,
pub bbox: BBox,
pub wsid: Option<i32>,
pub max_window_width: Option<Size>,
}
Fields
root: WindowHandle
bbox: BBox
wsid: Option<i32>
max_window_width: Option<Size>
Implementations
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Screen
impl<'de> Deserialize<'de> for Screen
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
sourceimpl From<&XWindowAttributes> for Screen
impl From<&XWindowAttributes> for Screen
sourcefn from(root: &XWindowAttributes) -> Self
fn from(root: &XWindowAttributes) -> Self
Converts to this type from the input type.
sourceimpl From<&XineramaScreenInfo> for Screen
impl From<&XineramaScreenInfo> for Screen
sourcefn from(root: &XineramaScreenInfo) -> Self
fn from(root: &XineramaScreenInfo) -> 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
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