Enum broot::content_search::ContentSearchResult
source · pub enum ContentSearchResult {
Found {
pos: usize,
},
NotFound,
NotSuitable,
}
Expand description
result of a full text search
Variants§
Found
the needle has been found at the given pos
NotFound
the needle hasn’t been found
NotSuitable
the file wasn’t searched because it’s binary or too big
Implementations§
Trait Implementations§
source§impl Clone for ContentSearchResult
impl Clone for ContentSearchResult
source§fn clone(&self) -> ContentSearchResult
fn clone(&self) -> ContentSearchResult
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ContentSearchResult
impl Debug for ContentSearchResult
source§impl PartialEq<ContentSearchResult> for ContentSearchResult
impl PartialEq<ContentSearchResult> for ContentSearchResult
source§fn eq(&self, other: &ContentSearchResult) -> bool
fn eq(&self, other: &ContentSearchResult) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.