Struct broot::verb::InternalExecution
source · pub struct InternalExecution {
pub internal: Internal,
pub bang: bool,
pub arg: Option<String>,
}
Expand description
A verb execution definition based on an internal
Fields§
§internal: Internal
the internal to use
bang: bool
whether to open the resulting state in a new panel instead of the current ones
arg: Option<String>
arguments
(for example "~"
when a verb execution is :!focus ~
)
Implementations§
source§impl InternalExecution
impl InternalExecution
pub fn from_internal(internal: Internal) -> Self
pub fn from_internal_bang(internal: Internal, bang: bool) -> Self
pub fn try_from(invocation_str: &str) -> Result<Self, ConfError>
pub fn needs_selection(&self) -> bool
Trait Implementations§
source§impl Clone for InternalExecution
impl Clone for InternalExecution
source§fn clone(&self) -> InternalExecution
fn clone(&self) -> InternalExecution
Returns a copy 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 more