Struct broot::pattern::InputPattern [−][src]
Expand description
wraps both
- the “pattern” (which may be used to filter and rank file entries)
- the source raw string which was used to build it and which may be put back in the input.
Fields
raw: String
pattern: Pattern
Implementations
pub fn new(
raw: String,
parts_expr: &BeTree<PatternOperator, PatternParts>,
con: &AppContext
) -> Result<Self, PatternError>
from a pattern used to filter a tree, build a pattern which would make sense to filter a previewed file
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for InputPattern
impl Send for InputPattern
impl Sync for InputPattern
impl Unpin for InputPattern
impl UnwindSafe for InputPattern
Blanket Implementations
Mutably borrows from an owned value. Read more