Enum regex_syntax::unicode::CanonicalClassQuery[][src]

enum CanonicalClassQuery {
    Binary(&'static str),
    GeneralCategory(&'static str),
    Script(&'static str),
    ByValue {
        property_name: &'static str,
        property_value: &'static str,
    },
}

Like ClassQuery, but its parameters have been canonicalized. This also differentiates binary properties from flattened general categories and scripts.

Variants

The canonical binary property name.

The canonical general category name.

The canonical script name.

An arbitrary association between property and value, both of which have been canonicalized.

Note that by construction, the property name of ByValue will never be General_Category or Script. Those two cases are subsumed by the eponymous variants.

Fields of ByValue

The canonical property name.

The canonical property value.

Trait Implementations

impl Debug for CanonicalClassQuery
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for CanonicalClassQuery

impl Sync for CanonicalClassQuery