[][src]Struct fst::automaton::StartsWith

pub struct StartsWith<A>(_);

An automaton that matches a string that begins with something that the wrapped automaton matches.

Trait Implementations

impl<A: Automaton> Automaton for StartsWith<A>[src]

type State = StartsWithState<A>

The type of the state used in the automaton.

fn starts_with(self) -> StartsWith<Self> where
    Self: Sized
[src]

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

fn union<Rhs: Automaton>(self, rhs: Rhs) -> Union<Self, Rhs> where
    Self: Sized
[src]

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

fn intersection<Rhs: Automaton>(self, rhs: Rhs) -> Intersection<Self, Rhs> where
    Self: Sized
[src]

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

fn complement(self) -> Complement<Self> where
    Self: Sized
[src]

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

impl<A: Clone> Clone for StartsWith<A>[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl<A: Debug> Debug for StartsWith<A>[src]

Auto Trait Implementations

impl<A> Unpin for StartsWith<A> where
    A: Unpin

impl<A> Send for StartsWith<A> where
    A: Send

impl<A> Sync for StartsWith<A> where
    A: Sync

impl<A> UnwindSafe for StartsWith<A> where
    A: UnwindSafe

impl<A> RefUnwindSafe for StartsWith<A> where
    A: RefUnwindSafe

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]