pub enum Affix<T, B> {
Any,
Anchor,
Alternation(Alternation<T, B>),
}Variants§
Implementations§
Trait Implementations§
Source§impl<T, B, Q, C> BuildNFA<T, Q, C, CaptureTag> for Affix<T, B>
impl<T, B, Q, C> BuildNFA<T, Q, C, CaptureTag> for Affix<T, B>
fn build_nfa_from<S: StateBuilder<T, Q, C>>( &self, state_builder: &mut S, nfa: &mut NFA<Q, T>, tags: &mut Tags<Q, CaptureTag>, class: &C, ) -> Result<(Q, C::Map<Q>), S::Error>
fn build_nfa<S>(
&self,
state_builder: S,
class: C,
) -> Result<TaggedNFA<Q, T, G>, <S as StateBuilder<T, Q, C>>::Error>where
S: StateBuilder<T, Q, C>,
Auto Trait Implementations§
impl<T, B> Freeze for Affix<T, B>
impl<T, B> RefUnwindSafe for Affix<T, B>where
B: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, B> Send for Affix<T, B>
impl<T, B> Sync for Affix<T, B>
impl<T, B> Unpin for Affix<T, B>
impl<T, B> UnwindSafe for Affix<T, B>
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