pub enum TextAction {
Cut,
Copy,
Paste,
SelectAll,
Custom(&'static str),
}Expand description
One command a selection toolbar may offer.
Variants§
Cut
Copy
Paste
SelectAll
Custom(&'static str)
A host-defined command, named by a stable key the host resolves to a label and a handler — “Look Up”, “Translate”, “Add to dictionary”.
Trait Implementations§
Source§impl Clone for TextAction
impl Clone for TextAction
Source§fn clone(&self) -> TextAction
fn clone(&self) -> TextAction
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TextAction
Source§impl Debug for TextAction
impl Debug for TextAction
impl Eq for TextAction
Source§impl Hash for TextAction
impl Hash for TextAction
Source§impl PartialEq for TextAction
impl PartialEq for TextAction
impl StructuralPartialEq for TextAction
Auto Trait Implementations§
impl Freeze for TextAction
impl RefUnwindSafe for TextAction
impl Send for TextAction
impl Sync for TextAction
impl Unpin for TextAction
impl UnsafeUnpin for TextAction
impl UnwindSafe for TextAction
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