pub struct TouchCommand;Expand description
The touch command: create empty file or update mtime.
Trait Implementations§
Source§impl VirtualCommand for TouchCommand
impl VirtualCommand for TouchCommand
fn name(&self) -> &str
fn meta(&self) -> Option<&'static CommandMeta>
fn execute(&self, args: &[String], ctx: &CommandContext<'_>) -> CommandResult
Auto Trait Implementations§
impl Freeze for TouchCommand
impl RefUnwindSafe for TouchCommand
impl Send for TouchCommand
impl Sync for TouchCommand
impl Unpin for TouchCommand
impl UnsafeUnpin for TouchCommand
impl UnwindSafe for TouchCommand
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