Struct broot::verb::InternalExecution
source · [−]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
sourceimpl 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
sourceimpl Clone for InternalExecution
impl Clone for InternalExecution
sourcefn clone(&self) -> InternalExecution
fn clone(&self) -> InternalExecution
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for InternalExecution
impl Debug for InternalExecution
Auto Trait Implementations
impl RefUnwindSafe for InternalExecution
impl Send for InternalExecution
impl Sync for InternalExecution
impl Unpin for InternalExecution
impl UnwindSafe for InternalExecution
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more