Struct fst_subseq_ascii_caseless::SubseqAsciiCaseless[][src]

pub struct SubseqAsciiCaseless<'a> { /* fields omitted */ }

An automaton that matches if the input contains a specific subsequence ignoring ASCII case.

It is similar to fst::automaton::Subsequence, and can be used to build a simple fuzzy-finder for ASCII-only content.

Methods

impl<'a> SubseqAsciiCaseless<'a>
[src]

Constructs automaton that matches input containing the specified subsequence ignoring ASCII case.

Panics

Panics if subseq contains any ASCII uppercase character.

Same as new() but don't check the string.

It would never match if the subseq contains any ASCII uppercase character.

Trait Implementations

impl<'a> Clone for SubseqAsciiCaseless<'a>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'a> Debug for SubseqAsciiCaseless<'a>
[src]

Formats the value using the given formatter. Read more

impl<'a> Automaton for SubseqAsciiCaseless<'a>
[src]

The type of the state used in the automaton.

Returns a single start state for this automaton. Read more

Returns true if and only if state is a match state.

Returns true if and only if state can lead to a match in zero or more steps. Read more

Returns true if and only if state matches and must match no matter what steps are taken. Read more

Return the next state given state and an input.

Returns an automaton that matches the strings that start with something this automaton matches. Read more

Returns an automaton that matches the strings matched by either this or the other automaton. Read more

Returns an automaton that matches the strings matched by both this and the other automaton. Read more

Returns an automaton that matches the strings not matched by this automaton. Read more

Auto Trait Implementations

impl<'a> Send for SubseqAsciiCaseless<'a>

impl<'a> Sync for SubseqAsciiCaseless<'a>