pub struct ClassEnvironment {
pub dark: bool,
pub platform: Platform,
pub reduce_motion: bool,
pub pointer: Pointer,
pub terminal: bool,
}Expand description
The environment variants depend on, set by the engine.
Fields§
§dark: boolDark appearance.
platform: PlatformThe platform.
reduce_motion: boolThe user asked for less motion.
pointer: PointerThe primary pointer’s precision.
terminal: boolDrawn in a terminal (terminal:).
Trait Implementations§
Source§impl Clone for ClassEnvironment
impl Clone for ClassEnvironment
impl Copy for ClassEnvironment
Source§impl Debug for ClassEnvironment
impl Debug for ClassEnvironment
Source§impl Default for ClassEnvironment
impl Default for ClassEnvironment
Source§impl PartialEq for ClassEnvironment
impl PartialEq for ClassEnvironment
impl StructuralPartialEq for ClassEnvironment
Auto Trait Implementations§
impl Forget for ClassEnvironment
impl Freeze for ClassEnvironment
impl Move for ClassEnvironment
impl RefUnwindSafe for ClassEnvironment
impl Send for ClassEnvironment
impl Sync for ClassEnvironment
impl Unpin for ClassEnvironment
impl UnsafeUnpin for ClassEnvironment
impl UnwindSafe for ClassEnvironment
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