pub struct PrefixMatch {
pub term_index: usize,
pub term: Vec<u8>,
}Expand description
One prefix match.
Fields§
§term_index: usizeIndex of the term in the dictionary’s flat order.
term: Vec<u8>The matched term.
Trait Implementations§
Source§impl Clone for PrefixMatch
impl Clone for PrefixMatch
Source§fn clone(&self) -> PrefixMatch
fn clone(&self) -> PrefixMatch
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 PrefixMatch
impl Debug for PrefixMatch
impl Eq for PrefixMatch
Source§impl PartialEq for PrefixMatch
impl PartialEq for PrefixMatch
impl StructuralPartialEq for PrefixMatch
Auto Trait Implementations§
impl Freeze for PrefixMatch
impl RefUnwindSafe for PrefixMatch
impl Send for PrefixMatch
impl Sync for PrefixMatch
impl Unpin for PrefixMatch
impl UnsafeUnpin for PrefixMatch
impl UnwindSafe for PrefixMatch
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