pub enum SearchMatchKind {
Title,
Tag,
Content,
}Expand description
Match category for search results.
Variants§
Title
Match came from page title or id.
Tag
Match came from a page tag.
Content
Match came from rendered page content.
Implementations§
Trait Implementations§
Source§impl Clone for SearchMatchKind
impl Clone for SearchMatchKind
Source§fn clone(&self) -> SearchMatchKind
fn clone(&self) -> SearchMatchKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SearchMatchKind
Source§impl Debug for SearchMatchKind
impl Debug for SearchMatchKind
impl Eq for SearchMatchKind
Source§impl PartialEq for SearchMatchKind
impl PartialEq for SearchMatchKind
Source§fn eq(&self, other: &SearchMatchKind) -> bool
fn eq(&self, other: &SearchMatchKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SearchMatchKind
impl Serialize for SearchMatchKind
impl StructuralPartialEq for SearchMatchKind
Auto Trait Implementations§
impl Freeze for SearchMatchKind
impl RefUnwindSafe for SearchMatchKind
impl Send for SearchMatchKind
impl Sync for SearchMatchKind
impl Unpin for SearchMatchKind
impl UnsafeUnpin for SearchMatchKind
impl UnwindSafe for SearchMatchKind
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more