Enum broot::content_search::ContentSearchResult [−][src]
pub enum ContentSearchResult {
Found {
pos: usize,
},
NotFound,
NotSuitable,
}
Expand description
result of a full text search
Variants
Found
Fields
pos: usize
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ContentSearchResult
impl Send for ContentSearchResult
impl Sync for ContentSearchResult
impl Unpin for ContentSearchResult
impl UnwindSafe for ContentSearchResult
Blanket Implementations
Mutably borrows from an owned value. Read more