Enum ultron::editor::Msg[][src]

pub enum Msg {
Show 19 variants TextareaMounted(Node), EditorMounted(Node), WindowKeydown(KeyboardEvent), TextareaKeydown(KeyboardEvent), MoveCursor(usizeusize), MoveCursorToLine(usize), StartSelection(usizeusize), EndSelection(usizeusize), StopSelection, ToSelection(usizeusize), Paste(String), CopiedSelected, Mouseup(i32i32), Mousedown(i32i32), Mousemove(i32i32), SetMeasurement(Measurements), Scrolled((i32, i32)), WindowScrolled((i32, i32)), TextareaInput(String),
}

Variants

TextareaMounted(Node)

Tuple Fields of TextareaMounted

0: Node
EditorMounted(Node)

Tuple Fields of EditorMounted

0: Node
WindowKeydown(KeyboardEvent)

keydown from window events

Tuple Fields of WindowKeydown

0: KeyboardEvent
TextareaKeydown(KeyboardEvent)

Keydown from the hidden text area

Tuple Fields of TextareaKeydown

0: KeyboardEvent
MoveCursor(usizeusize)

Tuple Fields of MoveCursor

0: usize1: usize
MoveCursorToLine(usize)

Tuple Fields of MoveCursorToLine

0: usize
StartSelection(usizeusize)

Tuple Fields of StartSelection

0: usize1: usize
EndSelection(usizeusize)

Tuple Fields of EndSelection

0: usize1: usize
StopSelection
ToSelection(usizeusize)

Tuple Fields of ToSelection

0: usize1: usize
Paste(String)

Tuple Fields of Paste

0: String
CopiedSelected
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
SetMeasurement(Measurements)

Tuple Fields of SetMeasurement

0: Measurements
Scrolled((i32, i32))

Tuple Fields of Scrolled

0: (i32, i32)
WindowScrolled((i32, i32))

Tuple Fields of WindowScrolled

0: (i32, i32)
TextareaInput(String)

Tuple Fields of TextareaInput

0: String

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Update the model of this component and return follow up and/or effects that will be executed on the next update loop Read more

the view of the component

optionally a Component can specify its own css style

Component can have component id to identify themselves

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

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.