pub struct Config {
pub display_pixel_density: String,
pub display_rotation: u64,
pub idle_threshold_ms: u64,
pub supported_input_devices: Vec<String>,
pub suspend_enabled: bool,
pub viewing_distance: String,
}
Fields§
§display_pixel_density: String
§display_rotation: u64
§idle_threshold_ms: u64
§supported_input_devices: Vec<String>
§suspend_enabled: bool
§viewing_distance: String
Implementations§
Source§impl Config
impl Config
pub fn take_from_startup_handle() -> Self
pub fn record_inspect(&self, inspector_node: &Node)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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