pub enum SystemEvent {
Suspend,
Resume,
Appearance(Appearance),
ReducedMotion(bool),
DoNotDisturb(bool),
Network(NetworkState),
}Expand description
O que a plataforma conta (Ui::system_event).
Variants§
Suspend
O computador vai dormir (ou hibernar).
Resume
Voltou de dormir.
Appearance(Appearance)
O tema claro ou escuro do sistema (ao abrir e quando muda).
ReducedMotion(bool)
O sistema pede menos movimento (ao abrir e quando muda).
DoNotDisturb(bool)
O “não perturbe” (ao abrir e quando muda, onde o sistema avisa).
Network(NetworkState)
A rede (ao abrir e quando muda).
Trait Implementations§
Source§impl Clone for SystemEvent
impl Clone for SystemEvent
impl Copy for SystemEvent
Source§impl Debug for SystemEvent
impl Debug for SystemEvent
impl Eq for SystemEvent
Source§impl PartialEq for SystemEvent
impl PartialEq for SystemEvent
impl StructuralPartialEq for SystemEvent
Auto Trait Implementations§
impl Forget for SystemEvent
impl Freeze for SystemEvent
impl Move for SystemEvent
impl RefUnwindSafe for SystemEvent
impl Send for SystemEvent
impl Sync for SystemEvent
impl Unpin for SystemEvent
impl UnsafeUnpin for SystemEvent
impl UnwindSafe for SystemEvent
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