[][src]Enum seed::dom_entity_names::Ev

pub enum Ev {
    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,
    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,
    Change,
    Input,
    TriggerUpdate,
    Custom(Cow<'static, str>),
}

The Ev enum restricts element-creation to only valid event names, as defined here: https://developer.mozilla.org/en-US/docs/Web/Evs

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
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
Change
Input
TriggerUpdate
Custom(Cow<'static, str>)

Methods

impl Ev[src]

pub fn as_str(&self) -> &str[src]

Trait Implementations

impl Clone for Ev[src]

impl Debug for Ev[src]

impl Display for Ev[src]

impl Eq for Ev[src]

impl<T: Into<Cow<'static, str>>> From<T> for Ev[src]

impl Ord for Ev[src]

impl PartialEq<Ev> for Ev[src]

impl PartialOrd<Ev> for Ev[src]

impl StructuralEq for Ev[src]

impl StructuralPartialEq for Ev[src]

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.