Enum ultron::editor::Msg [−][src]
pub enum Msg {
Show 19 variants
TextareaMounted(Node),
EditorMounted(Node),
Keydown(KeyboardEvent),
TextareaKeydown(KeyboardEvent),
MoveCursor(usize, usize),
MoveCursorToLine(usize),
StartSelection(usize, usize),
EndSelection(usize, usize),
StopSelection,
ToSelection(usize, usize),
Paste(String),
CopiedSelected,
Mouseup(i32, i32),
Mousedown(i32, i32),
Mousemove(i32, i32),
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
Keydown(KeyboardEvent)
Tuple Fields of Keydown
TextareaKeydown(KeyboardEvent)
Tuple Fields of TextareaKeydown
MoveCursorToLine(usize)
Tuple Fields of MoveCursorToLine
0: usize
Paste(String)
Tuple Fields of Paste
0: String
TextareaInput(String)
Tuple Fields of TextareaInput
0: String
Trait Implementations
Update the model of this component and return follow up and/or effects that will be executed on the next update loop Read more
Auto Trait Implementations
impl RefUnwindSafe for Msg
impl UnwindSafe for Msg
Blanket Implementations
Mutably borrows from an owned value. Read more
The inverse inclusion map: attempts to construct self
from the equivalent element of its
superset. Read more
pub fn is_in_subset(&self) -> bool
pub fn is_in_subset(&self) -> bool
Checks if self
is actually part of its subset T
(and can be converted to it).
pub fn to_subset_unchecked(&self) -> SS
pub fn to_subset_unchecked(&self) -> SS
Use with care! Same as self.to_subset
but without any property checks. Always succeeds.
pub fn from_subset(element: &SS) -> SP
pub fn from_subset(element: &SS) -> SP
The inclusion map: converts self
to the equivalent element of its superset.