[−][src]Struct broot::verb::CD
Methods from Deref<Target = ExternalExecution>
pub fn name(&self) -> &str
[src]
pub fn check_args(
&self,
invocation: &VerbInvocation,
other_path: &Option<PathBuf>
) -> Option<String>
[src]
&self,
invocation: &VerbInvocation,
other_path: &Option<PathBuf>
) -> Option<String>
Assuming the verb has been matched, check whether the arguments are OK according to the regex. Return none when there's no problem and return the error to display if arguments don't match
pub fn to_cmd_result(
&self,
w: &mut W,
file: &Path,
other_file: &Option<PathBuf>,
args: &Option<String>,
con: &AppContext
) -> Result<AppStateCmdResult, ProgramError>
[src]
&self,
w: &mut W,
file: &Path,
other_file: &Option<PathBuf>,
args: &Option<String>,
con: &AppContext
) -> Result<AppStateCmdResult, ProgramError>
pub fn shell_exec_string(
&self,
file: &Path,
other_file: &Option<PathBuf>,
args: &Option<String>
) -> String
[src]
&self,
file: &Path,
other_file: &Option<PathBuf>,
args: &Option<String>
) -> String
build a shell compatible command, with escapings
Trait Implementations
impl Deref for CD
[src]
type Target = ExternalExecution
The resulting type after dereferencing.
fn deref(&self) -> &ExternalExecution
[src]
impl LazyStatic for CD
[src]
fn initialize(lazy: &Self)
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,