pub struct Screen {
pub name: String,
pub wallpaper: Option<Utf8PathBuf>,
pub mode: Option<Mode>,
pub active: bool,
}
Expand description
include information about a connected screen
Fields§
§name: String
§wallpaper: Option<Utf8PathBuf>
current wallpaper of the screen
mode: Option<Mode>
current mode of the screen
active: bool
indicates if screen is active. A inactive screen is current disconneted or repesents a default for new connected screens or is a fallback after restart
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Screen
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