Enum seed::virtual_dom::Ev
source · pub enum Ev {
Show 145 variants
Cached,
Error,
Abort,
Load,
BeforeUnload,
Unload,
Online,
Offline,
Focus,
Blur,
Open,
Message,
Close,
PageHide,
PageShow,
PopState,
AnimationStart,
AnimationEnd,
AnimationIteration,
TransitionStart,
TransitionEnd,
TranstionRun,
Rest,
Submit,
BeforePrint,
AfterPrint,
CompositionStart,
CompositionUpdate,
CompositionEnd,
FullScreenChange,
FullScreenError,
Resize,
Scroll,
Cut,
Copy,
Paste,
KeyDown,
KeyUp,
KeyPress,
AuxClick,
Click,
ContextMenu,
DblClick,
MouseDown,
MouseEnter,
MouseLeave,
MouseMove,
MouseOver,
MouseOut,
MouseUp,
PointerLockChange,
PointerLockError,
Select,
Wheel,
PointerOver,
PointerEnter,
PointerDown,
PointerMove,
PointerUp,
PointerCancel,
PointerOut,
PointerLeave,
GotPointerCapture,
LostPointerCapture,
TouchStart,
TouchEnd,
TouchCancel,
TouchMove,
Drag,
DragEnd,
DragEnter,
DragStart,
DragLeave,
DragOver,
Drop,
AudioProcess,
CanPlay,
CanPlayThrough,
Complete,
DurationChange,
Emptied,
Ended,
LoadedData,
LoadedMetaData,
Pause,
Play,
Playing,
RateChange,
Seeked,
Seeking,
Stalled,
Suspend,
TimeUpdate,
VolumeChange,
Waiting,
LoadEnd,
LoadStart,
Timeout,
Change,
Storage,
Checking,
Downloading,
NoUpdate,
Obselete,
UpdateReady,
Broadcast,
CheckBoxStateChange,
HasChange,
Input,
RadioStateChange,
ReadyStateChange,
ValueChange,
Invalid,
Show,
SVGAbort,
SVGError,
SVGLoad,
SVGResize,
SVGScroll,
SVGUnload,
Blocked,
Success,
UpgradeNeeded,
VersionChange,
AfterScriptExecute,
BeforeScriptExecute,
DOMMenuItemActive,
DOMMenuItemInactive,
PopupHidden,
PopupHiding,
PopupShowing,
PopupShown,
VisibilityChange,
ChargingChange,
ChargingTimeChange,
DischargingTimeChange,
Connected,
StateChange,
DeviceMotion,
DeviceOrientation,
OrientationChange,
SmartCardInsert,
SmartCardRemove,
SelectionChange,
Custom(Cow<'static, str>),
}
Expand description
The Ev enum restricts element-creation to only valid event names, as defined here: MDN reference Web/Events
Variants§
Cached
Error
Abort
Load
BeforeUnload
Unload
Online
Offline
Focus
Blur
Open
Message
Close
PageHide
PageShow
PopState
AnimationStart
AnimationEnd
AnimationIteration
TransitionStart
TransitionEnd
TranstionRun
Rest
Submit
BeforePrint
AfterPrint
CompositionStart
CompositionUpdate
CompositionEnd
FullScreenChange
FullScreenError
Resize
Scroll
Cut
Copy
Paste
KeyDown
KeyUp
KeyPress
AuxClick
Click
ContextMenu
DblClick
MouseDown
MouseEnter
MouseLeave
MouseMove
MouseOver
MouseOut
MouseUp
PointerLockChange
PointerLockError
Select
Wheel
PointerOver
PointerEnter
PointerDown
PointerMove
PointerUp
PointerCancel
PointerOut
PointerLeave
GotPointerCapture
LostPointerCapture
TouchStart
TouchEnd
TouchCancel
TouchMove
Drag
DragEnd
DragEnter
DragStart
DragLeave
DragOver
Drop
AudioProcess
CanPlay
CanPlayThrough
Complete
DurationChange
Emptied
Ended
LoadedData
LoadedMetaData
Pause
Play
Playing
RateChange
Seeked
Seeking
Stalled
Suspend
TimeUpdate
VolumeChange
Waiting
LoadEnd
LoadStart
Timeout
Change
Storage
Checking
Downloading
NoUpdate
Obselete
UpdateReady
Broadcast
CheckBoxStateChange
HasChange
Input
RadioStateChange
ReadyStateChange
ValueChange
Invalid
Show
SVGAbort
SVGError
SVGLoad
SVGResize
SVGScroll
SVGUnload
Blocked
Success
UpgradeNeeded
VersionChange
AfterScriptExecute
BeforeScriptExecute
DOMMenuItemActive
DOMMenuItemInactive
PopupHidden
PopupHiding
PopupShowing
PopupShown
VisibilityChange
ChargingChange
ChargingTimeChange
DischargingTimeChange
Connected
StateChange
DeviceMotion
DeviceOrientation
OrientationChange
SmartCardInsert
SmartCardRemove
SelectionChange
Custom(Cow<'static, str>)
Implementations§
Trait Implementations§
source§impl Ord for Ev
impl Ord for Ev
source§impl PartialOrd<Ev> for Ev
impl PartialOrd<Ev> for Ev
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for Ev
impl StructuralEq for Ev
impl StructuralPartialEq for Ev
Auto Trait Implementations§
impl RefUnwindSafe for Ev
impl Send for Ev
impl Sync for Ev
impl Unpin for Ev
impl UnwindSafe for Ev
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.