pub struct CommandCompletion {
pub name: CommandName,
pub description: String,
}Expand description
One command-mode completion entry with its display description.
Fields§
§name: CommandNameCommand token typed by the user, including the leading :.
description: StringHuman-readable description shown in the completion menu.
Implementations§
Trait Implementations§
Source§impl Clone for CommandCompletion
impl Clone for CommandCompletion
Auto Trait Implementations§
impl Freeze for CommandCompletion
impl RefUnwindSafe for CommandCompletion
impl Send for CommandCompletion
impl Sync for CommandCompletion
impl Unpin for CommandCompletion
impl UnsafeUnpin for CommandCompletion
impl UnwindSafe for CommandCompletion
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