Enum broot::content_search::ContentSearchResult
source · [−]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
sourceimpl Clone for ContentSearchResult
impl Clone for ContentSearchResult
sourcefn clone(&self) -> ContentSearchResult
fn clone(&self) -> ContentSearchResult
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 moresourceimpl Debug for ContentSearchResult
impl Debug for ContentSearchResult
sourceimpl PartialEq<ContentSearchResult> for ContentSearchResult
impl PartialEq<ContentSearchResult> for ContentSearchResult
sourcefn eq(&self, other: &ContentSearchResult) -> bool
fn eq(&self, other: &ContentSearchResult) -> bool
impl Copy for ContentSearchResult
impl StructuralPartialEq for ContentSearchResult
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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