pub enum UiRequest {
Dialog(String, Value),
Message(String),
EditCell(Option<String>),
InsertName(String),
OpenUrl(String),
}Expand description
Requests from commands to the UI (open a dialog, show a message…).
Variants§
Dialog(String, Value)
Message(String)
EditCell(Option<String>)
Start editing the active cell (F2) with optional initial text.
InsertName(String)
Put a defined name at the caret of the cell being edited, in place of selected text; with
no edit under way, start editing the active cell with = and the name.
OpenUrl(String)
Trait Implementations§
impl StructuralPartialEq for UiRequest
Auto Trait Implementations§
impl Freeze for UiRequest
impl RefUnwindSafe for UiRequest
impl Send for UiRequest
impl Sync for UiRequest
impl Unpin for UiRequest
impl UnsafeUnpin for UiRequest
impl UnwindSafe for UiRequest
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