pub struct ApproximatelySimilarCanonical<S: Alphabet> { /* private fields */ }
Expand description
A regular expression builder that keeps the structure in approximately-similar canonical form.
Trait Implementations§
Source§impl<S: Alphabet> Builder for ApproximatelySimilarCanonical<S>
impl<S: Alphabet> Builder for ApproximatelySimilarCanonical<S>
type Symbol = S
fn empty_set() -> Regex<Self>
fn empty_string() -> Regex<Self>
fn symbol(value: Self::Symbol) -> 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>
Source§impl<S: Clone + Alphabet> Clone for ApproximatelySimilarCanonical<S>
impl<S: Clone + Alphabet> Clone for ApproximatelySimilarCanonical<S>
Source§fn clone(&self) -> ApproximatelySimilarCanonical<S>
fn clone(&self) -> ApproximatelySimilarCanonical<S>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<S: PartialEq + Alphabet> PartialEq for ApproximatelySimilarCanonical<S>
impl<S: PartialEq + Alphabet> PartialEq for ApproximatelySimilarCanonical<S>
Source§fn eq(&self, other: &ApproximatelySimilarCanonical<S>) -> bool
fn eq(&self, other: &ApproximatelySimilarCanonical<S>) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl<S: Eq + Alphabet> Eq for ApproximatelySimilarCanonical<S>
impl<S: Alphabet> StructuralPartialEq for ApproximatelySimilarCanonical<S>
Auto Trait Implementations§
impl<S> Freeze for ApproximatelySimilarCanonical<S>
impl<S> RefUnwindSafe for ApproximatelySimilarCanonical<S>where
S: RefUnwindSafe,
impl<S> Send for ApproximatelySimilarCanonical<S>where
S: Send,
impl<S> Sync for ApproximatelySimilarCanonical<S>where
S: Sync,
impl<S> Unpin for ApproximatelySimilarCanonical<S>where
S: Unpin,
impl<S> UnwindSafe for ApproximatelySimilarCanonical<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