Enum screenruster_saver::Request
[−]
[src]
pub enum Request { Config(JsonValue), Target { display: String, screen: i32, window: u64, }, Throttle(bool), Blank(bool), Resize { width: u32, height: u32, }, Pointer(Pointer), Password(Password), Start, Lock, Stop, }
Variants
Config(JsonValue)
Saver configuration.
Target
Drawable target.
Fields
display: String | |
screen: i32 | |
window: u64 |
Throttle(bool)
Throttle the rendering.
Blank(bool)
The screen has been blanked or unblanked.
Resize
Resize the viewport.
Fields
width: u32 | |
height: u32 |
Pointer(Pointer)
Pointer events.
Password(Password)
The password field has changed.
Start
Start the saver.
Lock
Lock the saver.
Stop
Stop the saver.
Trait Implementations
impl Debug for Request
[src]
impl Clone for Request
[src]
fn clone(&self) -> Request
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more