Struct broot::verb::ExecutionStringBuilder[][src]

pub struct ExecutionStringBuilder<'b> {
    pub sel_info: SelInfo<'b>,
    // some fields omitted
}
Expand description

a temporary structure gathering selection and invocation parameters and able to generate an executable string from a verb’s execution pattern

Fields

sel_info: SelInfo<'b>

the current file selection

Implementations

constructor to use when there’s no invocation string (because we’re in the process of building one, for example when a verb is triggered from a key shortcut)

fills groups having a default value (after the colon)

This is used to fill the input in case on non auto_exec verb triggered with a key

build a path

build a shell compatible command, with escapings

build a shell compatible command, with escapings, for a specific selection (this is intended for execution on all selections of a stage)

build a vec of tokens which can be passed to Command to launch an executable

build a vec of tokens which can be passed to Command to launch an executable

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.