[][src]Struct broot::verb::InternalExecution

pub struct InternalExecution {
    pub internal: Internal,
    pub bang: bool,
    pub arg: Option<String>,
}

A verb execution definition based on an internal

Fields

internal: Internalbang: boolarg: Option<String>

Implementations

impl InternalExecution[src]

pub fn from_internal(internal: Internal) -> Self[src]

pub fn from_internal_bang(internal: Internal, bang: bool) -> Self[src]

pub fn check_args(
    &self,
    invocation: &VerbInvocation,
    _other_path: &Option<PathBuf>
) -> Option<String>
[src]

pub fn try_from(invocation_str: &str) -> Result<Self, ConfError>[src]

pub fn as_desc_code(&self) -> Option<String>[src]

Trait Implementations

impl Clone for InternalExecution[src]

impl Debug for InternalExecution[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.