Struct fst::raw::StreamBuilder

source ·
pub struct StreamBuilder<'f, A = AlwaysMatch> { /* private fields */ }
Expand description

A builder for constructing range queries on streams.

Once all bounds are set, one should call into_stream to get a Stream.

Bounds are not additive. That is, if ge is called twice on the same builder, then the second setting wins.

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.

Implementations

Specify a greater-than-or-equal-to bound.

Specify a greater-than bound.

Specify a less-than-or-equal-to bound.

Specify a less-than bound.

Trait Implementations

The type of the item emitted by the stream.
The type of the stream to be constructed.
Construct a stream from Self.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.