pub enum EventPayloadType {
None,
Text,
ProtocolError,
KeyDown,
Range,
Double,
WindowSize,
DesignSystem,
NotificationActivation,
NotificationPermission,
}Variants§
None
Text
ProtocolError
KeyDown
Range
Double
One f64. Every value-carrying widget shares it, so the same concept has one
name on the wire whether the value counts days or slides between two ends.
WindowSize
DesignSystem
One u16: the tag of the design system the Renderer resolved the theme to.
NotificationActivation
A u32 saying what was pressed (0 for the body, 1 or 2 for an action button), then
the notification’s key as a string reference.
NotificationPermission
One u32: the notification permission the Renderer last saw.
Trait Implementations§
Source§impl Clone for EventPayloadType
impl Clone for EventPayloadType
impl Copy for EventPayloadType
Source§impl Debug for EventPayloadType
impl Debug for EventPayloadType
impl Eq for EventPayloadType
Source§impl PartialEq for EventPayloadType
impl PartialEq for EventPayloadType
impl StructuralPartialEq for EventPayloadType
Auto Trait Implementations§
impl Freeze for EventPayloadType
impl RefUnwindSafe for EventPayloadType
impl Send for EventPayloadType
impl Sync for EventPayloadType
impl Unpin for EventPayloadType
impl UnsafeUnpin for EventPayloadType
impl UnwindSafe for EventPayloadType
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