pub struct AliasDescription {
pub caller: Arc<str>,
pub replacement: Arc<str>,
pub cmd: CmdDoc,
}Expand description
The description for a Duat alias, which can be executed in
the PromptLine, aliasing to a proper command
Fields§
§caller: Arc<str>The caller for the alias
replacement: Arc<str>What the caller gets replaced by
cmd: CmdDocThe description of the original command
Trait Implementations§
Source§impl Clone for AliasDescription
impl Clone for AliasDescription
Source§fn clone(&self) -> AliasDescription
fn clone(&self) -> AliasDescription
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for AliasDescription
impl !RefUnwindSafe for AliasDescription
impl Send for AliasDescription
impl Sync for AliasDescription
impl Unpin for AliasDescription
impl UnsafeUnpin for AliasDescription
impl !UnwindSafe for AliasDescription
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