Enum ultron_web::Msg[][src]

pub enum Msg {
    WindowScrolled((i32, i32)),
    EditorMsg(Msg),
    Keydown(KeyboardEvent),
    Mouseup(i32i32),
    Mousedown(i32i32),
    Mousemove(i32i32),
    NoOp,
}

Variants

WindowScrolled((i32, i32))

Tuple Fields of WindowScrolled

0: (i32, i32)
EditorMsg(Msg)

Tuple Fields of EditorMsg

0: Msg
Keydown(KeyboardEvent)

Tuple Fields of Keydown

0: KeyboardEvent
Mouseup(i32i32)

Tuple Fields of Mouseup

0: i321: i32
Mousedown(i32i32)

Tuple Fields of Mousedown

0: i321: i32
Mousemove(i32i32)

Tuple Fields of Mousemove

0: i321: i32
NoOp

Trait Implementations

The application can implement this method where it can modify its initial state. This method is called right after the program is mounted into the DOM. Read more

optionally an Application can specify its own css style

Returns a node on how the component is presented.

Called each time an action is triggered from the view

This is called after dispatching and updating the dom for the component This is for diagnostic and performance measurement purposes. Read more

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The inverse inclusion map: attempts to construct self from the equivalent element of its superset. Read more

Checks if self is actually part of its subset T (and can be converted to it).

Use with care! Same as self.to_subset but without any property checks. Always succeeds.

The inclusion map: converts self to the equivalent element of its superset.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.