pub struct LexicalHit {
pub document: LexicalDocument,
pub explanation: LexicalExplanation,
}Expand description
A lexical search hit and its explanation.
Fields§
§document: LexicalDocumentMatching document.
explanation: LexicalExplanationLexical match explanation.
Trait Implementations§
Source§impl Clone for LexicalHit
impl Clone for LexicalHit
Source§fn clone(&self) -> LexicalHit
fn clone(&self) -> LexicalHit
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 moreSource§impl Debug for LexicalHit
impl Debug for LexicalHit
Source§impl PartialEq for LexicalHit
impl PartialEq for LexicalHit
Source§fn eq(&self, other: &LexicalHit) -> bool
fn eq(&self, other: &LexicalHit) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LexicalHit
Auto Trait Implementations§
impl Freeze for LexicalHit
impl RefUnwindSafe for LexicalHit
impl Send for LexicalHit
impl Sync for LexicalHit
impl Unpin for LexicalHit
impl UnsafeUnpin for LexicalHit
impl UnwindSafe for LexicalHit
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