Type Alias Default

Source
pub type Default<S> = ApproximatelySimilarCanonical<S>;
Expand description

The recommended regular expression builder.

Aliased Type§

pub struct Default<S> { /* private fields */ }

Trait Implementations

Source§

impl<S: Alphabet> Builder for ApproximatelySimilarCanonical<S>

Source§

type Symbol = S

Source§

fn empty_set() -> Regex<Self>

Source§

fn empty_string() -> Regex<Self>

Source§

fn symbol(value: Self::Symbol) -> Regex<Self>

Source§

fn closure(inner: Regex<Self>) -> Regex<Self>

Source§

fn concat(left: Regex<Self>, right: Regex<Self>) -> Regex<Self>

Source§

fn or(left: Regex<Self>, right: Regex<Self>) -> Regex<Self>

Source§

fn and(left: Regex<Self>, right: Regex<Self>) -> Regex<Self>

Source§

fn complement(inner: Regex<Self>) -> Regex<Self>

Source§

impl<S: Clone + Alphabet> Clone for ApproximatelySimilarCanonical<S>

Source§

fn clone(&self) -> ApproximatelySimilarCanonical<S>

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<S: Debug + Alphabet> Debug for ApproximatelySimilarCanonical<S>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<S: Hash + Alphabet> Hash for ApproximatelySimilarCanonical<S>

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl<S: PartialEq + Alphabet> PartialEq for ApproximatelySimilarCanonical<S>

Source§

fn eq(&self, other: &ApproximatelySimilarCanonical<S>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<S: Eq + Alphabet> Eq for ApproximatelySimilarCanonical<S>

Source§

impl<S: Alphabet> StructuralPartialEq for ApproximatelySimilarCanonical<S>