Enum broot::verb::ExecPattern
source · [−]Expand description
A pattern which can be expanded into an executable
Variants
String(String)
Array(Vec<String>)
Implementations
sourceimpl ExecPattern
impl ExecPattern
pub fn is_empty(&self) -> bool
pub fn has_selection_group(&self) -> bool
pub fn has_other_panel_group(&self) -> bool
pub fn as_internal_pattern(&self) -> Option<&str>
pub fn into_array(self) -> Vec<String>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
pub fn from_string<T: Into<String>>(t: T) -> Self
pub fn from_array(v: Vec<String>) -> Self
pub fn tokenize(self) -> Self
pub fn apply(&self, f: &dyn Fn(&str) -> String) -> Self
pub fn fix_paths(self) -> Self
Trait Implementations
sourceimpl Clone for ExecPattern
impl Clone for ExecPattern
sourcefn clone(&self) -> ExecPattern
fn clone(&self) -> ExecPattern
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 ExecPattern
impl Debug for ExecPattern
sourceimpl<'de> Deserialize<'de> for ExecPattern
impl<'de> Deserialize<'de> for ExecPattern
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for ExecPattern
impl Send for ExecPattern
impl Sync for ExecPattern
impl Unpin for ExecPattern
impl UnwindSafe for ExecPattern
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