[][src]Struct typed_html::events::Events

pub struct Events<T> where
    T: Send
{ pub abort: Option<T>, pub autocomplete: Option<T>, pub autocompleteerror: Option<T>, pub blur: Option<T>, pub cancel: Option<T>, pub canplay: Option<T>, pub canplaythrough: Option<T>, pub change: Option<T>, pub click: Option<T>, pub close: Option<T>, pub contextmenu: Option<T>, pub cuechange: Option<T>, pub dblclick: Option<T>, pub drag: Option<T>, pub dragend: Option<T>, pub dragenter: Option<T>, pub dragexit: Option<T>, pub dragleave: Option<T>, pub dragover: Option<T>, pub dragstart: Option<T>, pub drop: Option<T>, pub durationchange: Option<T>, pub emptied: Option<T>, pub ended: Option<T>, pub error: Option<T>, pub focus: Option<T>, pub input: Option<T>, pub invalid: Option<T>, pub keydown: Option<T>, pub keypress: Option<T>, pub keyup: Option<T>, pub load: Option<T>, pub loadeddata: Option<T>, pub loadedmetadata: Option<T>, pub loadstart: Option<T>, pub mousedown: Option<T>, pub mouseenter: Option<T>, pub mouseleave: Option<T>, pub mousemove: Option<T>, pub mouseout: Option<T>, pub mouseover: Option<T>, pub mouseup: Option<T>, pub mousewheel: Option<T>, pub pause: Option<T>, pub play: Option<T>, pub playing: Option<T>, pub progress: Option<T>, pub ratechange: Option<T>, pub reset: Option<T>, pub resize: Option<T>, pub scroll: Option<T>, pub seeked: Option<T>, pub seeking: Option<T>, pub select: Option<T>, pub show: Option<T>, pub sort: Option<T>, pub stalled: Option<T>, pub submit: Option<T>, pub suspend: Option<T>, pub timeupdate: Option<T>, pub toggle: Option<T>, pub volumechange: Option<T>, pub waiting: Option<T>, }

Fields

abort: Option<T>autocomplete: Option<T>autocompleteerror: Option<T>blur: Option<T>cancel: Option<T>canplay: Option<T>canplaythrough: Option<T>change: Option<T>click: Option<T>close: Option<T>contextmenu: Option<T>cuechange: Option<T>dblclick: Option<T>drag: Option<T>dragend: Option<T>dragenter: Option<T>dragexit: Option<T>dragleave: Option<T>dragover: Option<T>dragstart: Option<T>drop: Option<T>durationchange: Option<T>emptied: Option<T>ended: Option<T>error: Option<T>focus: Option<T>input: Option<T>invalid: Option<T>keydown: Option<T>keypress: Option<T>keyup: Option<T>load: Option<T>loadeddata: Option<T>loadedmetadata: Option<T>loadstart: Option<T>mousedown: Option<T>mouseenter: Option<T>mouseleave: Option<T>mousemove: Option<T>mouseout: Option<T>mouseover: Option<T>mouseup: Option<T>mousewheel: Option<T>pause: Option<T>play: Option<T>playing: Option<T>progress: Option<T>ratechange: Option<T>reset: Option<T>resize: Option<T>scroll: Option<T>seeked: Option<T>seeking: Option<T>select: Option<T>show: Option<T>sort: Option<T>stalled: Option<T>submit: Option<T>suspend: Option<T>timeupdate: Option<T>toggle: Option<T>volumechange: Option<T>waiting: Option<T>

Methods

impl<T: Send> Events<T>[src]

pub fn iter(&self) -> impl Iterator<Item = (&'static str, &T)>[src]

pub fn iter_mut(&mut self) -> impl Iterator<Item = (&'static str, &mut T)>[src]

Trait Implementations

impl<T: 'static + Send> IntoIterator for Events<T>[src]

type Item = (&'static str, T)

The type of the elements being iterated over.

type IntoIter = Box<dyn Iterator<Item = Self::Item>>

Which kind of iterator are we turning this into?

impl<T: Send> Default for Events<T>[src]

impl<T: Display + Send> Display for Events<T>[src]

Auto Trait Implementations

impl<T> Send for Events<T>

impl<T> Unpin for Events<T> where
    T: Unpin

impl<T> Sync for Events<T> where
    T: Sync

impl<T> UnwindSafe for Events<T> where
    T: UnwindSafe

impl<T> RefUnwindSafe for Events<T> where
    T: RefUnwindSafe

Blanket Implementations

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

impl<I> IntoIterator for I where
    I: Iterator
[src]

type Item = <I as Iterator>::Item

The type of the elements being iterated over.

type IntoIter = I

Which kind of iterator are we turning this into?

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

impl<T, U> Into<U> for T where
    U: From<T>, 
[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.

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

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

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