Struct tantivy_fst::raw::StreamWithState
source · [−]pub struct StreamWithState<'f, A = AlwaysMatch>where
A: Automaton,{ /* private fields */ }
Expand description
A lexicographically ordered stream from an fst of key-value pairs along with the state of the automaton.
The A
type parameter corresponds to an optional automaton to filter
the stream. By default, no filtering is done.
The 'f
lifetime parameter refers to the lifetime of the underlying fst.
Trait Implementations
sourceimpl<'f, A: Clone> Clone for StreamWithState<'f, A>where
A: Automaton,
A::State: Clone,
impl<'f, A: Clone> Clone for StreamWithState<'f, A>where
A: Automaton,
A::State: Clone,
sourcefn clone(&self) -> StreamWithState<'f, A>
fn clone(&self) -> StreamWithState<'f, A>
Returns a copy of the value. Read more
1.0.0const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<'f, 'a, A: 'a + Automaton> Streamer<'a> for StreamWithState<'f, A>where
A::State: Clone,
impl<'f, 'a, A: 'a + Automaton> Streamer<'a> for StreamWithState<'f, A>where
A::State: Clone,
Auto Trait Implementations
impl<'f, A> RefUnwindSafe for StreamWithState<'f, A>where
A: RefUnwindSafe,
<A as Automaton>::State: RefUnwindSafe,
impl<'f, A> Send for StreamWithState<'f, A>where
A: Send,
<A as Automaton>::State: Send,
impl<'f, A> Sync for StreamWithState<'f, A>where
A: Sync,
<A as Automaton>::State: Sync,
impl<'f, A> Unpin for StreamWithState<'f, A>where
A: Unpin,
<A as Automaton>::State: Unpin,
impl<'f, A> UnwindSafe for StreamWithState<'f, A>where
A: UnwindSafe,
<A as Automaton>::State: UnwindSafe,
Blanket Implementations
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> ToOwned for Twhere
T: Clone,
impl<T> ToOwned for Twhere
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
fn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
Uses borrowed data to replace owned data, usually by cloning. Read more