pub enum Event {
Field {
key: String,
value: Value,
},
Select(Vec<String>),
Canvas(CanvasEvent),
}Expand description
What reaches an operation of what the user did, once the editor has done what it does alike for every operation: arming a reference field and picking for it, dragging a number’s handle, selecting.
Variants§
Field
The field key of the dialog set to value — typed, chosen, picked
for in the viewport or dragged by its handle.
Select(Vec<String>)
The visuals selected now, by their keys.
Canvas(CanvasEvent)
What the pointer or a key did beyond that.
Trait Implementations§
impl StructuralPartialEq for Event
Auto Trait Implementations§
impl Freeze for Event
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnsafeUnpin for Event
impl UnwindSafe for Event
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more