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 more
sourceimpl 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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more