Struct broot::pattern::Candidate [−][src]
pub struct Candidate<'c> {
pub path: &'c Path,
pub subpath: &'c str,
pub name: &'c str,
pub regular_file: bool,
}
Expand description
something which can be evaluated by a pattern to produce either a score or a more precise match
Fields
path: &'c Path
path to the file to open if the pattern searches into files
subpath: &'c str
path from the current root
name: &'c str
filename
regular_file: bool
whether the file is regular (ie has a searchable content)
Implementations
Trait Implementations
Auto Trait Implementations
impl<'c> RefUnwindSafe for Candidate<'c>
impl<'c> UnwindSafe for Candidate<'c>
Blanket Implementations
Mutably borrows from an owned value. Read more