pub struct Lexeme {
pub word: String,
pub positions: Vec<u16>,
}Expand description
One lexeme of a tsvector, with its positions. A lexeme with no positions has an empty list.
Fields§
§word: String§positions: Vec<u16>Trait Implementations§
impl Eq for Lexeme
impl StructuralPartialEq for Lexeme
Auto Trait Implementations§
impl Freeze for Lexeme
impl RefUnwindSafe for Lexeme
impl Send for Lexeme
impl Sync for Lexeme
impl Unpin for Lexeme
impl UnsafeUnpin for Lexeme
impl UnwindSafe for Lexeme
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