pub enum TextCommand {
Cut,
Copy,
Paste,
SelectAll,
}Expand description
Standard clipboard/selection command understood by text editing widgets.
Variants§
Implementations§
Source§impl TextCommand
impl TextCommand
pub fn from_command(command: &Command<'_>) -> Option<Self>
Trait Implementations§
Source§impl Clone for TextCommand
impl Clone for TextCommand
impl Copy for TextCommand
Source§impl Debug for TextCommand
impl Debug for TextCommand
impl Eq for TextCommand
Source§impl PartialEq for TextCommand
impl PartialEq for TextCommand
impl StructuralPartialEq for TextCommand
Auto Trait Implementations§
impl Forget for TextCommand
impl Freeze for TextCommand
impl Move for TextCommand
impl RefUnwindSafe for TextCommand
impl Send for TextCommand
impl Sync for TextCommand
impl Unpin for TextCommand
impl UnsafeUnpin for TextCommand
impl UnwindSafe for TextCommand
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