pub struct Pure<S: Alphabet> { /* private fields */ }
Expand description
A pure regular expression builder that keeps the structure of the constructor calls in the result.
Trait Implementations§
Source§impl<S: Alphabet> Builder for Pure<S>
impl<S: Alphabet> Builder for Pure<S>
type Symbol = S
fn empty_set() -> Regex<Self>
fn empty_string() -> Regex<Self>
fn symbol(value: S) -> Regex<Self>
fn closure(inner: Regex<Self>) -> Regex<Self>
fn concat(left: Regex<Self>, right: Regex<Self>) -> Regex<Self>
fn or(left: Regex<Self>, right: Regex<Self>) -> Regex<Self>
fn and(left: Regex<Self>, right: Regex<Self>) -> Regex<Self>
fn complement(inner: Regex<Self>) -> Regex<Self>
impl<S: Eq + Alphabet> Eq for Pure<S>
impl<S: Alphabet> StructuralPartialEq for Pure<S>
Auto Trait Implementations§
impl<S> Freeze for Pure<S>
impl<S> RefUnwindSafe for Pure<S>where
S: RefUnwindSafe,
impl<S> Send for Pure<S>where
S: Send,
impl<S> Sync for Pure<S>where
S: Sync,
impl<S> Unpin for Pure<S>where
S: Unpin,
impl<S> UnwindSafe for Pure<S>where
S: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more