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
Binary(&'static str)The canonical binary property name.
GeneralCategory(&'static str)The canonical general category name.
Script(&'static str)The canonical script name.
ByValueAn 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
property_name: &'static str | The canonical property name. |
property_value: &'static str | The canonical property value. |
Trait Implementations
impl Debug for CanonicalClassQuery[src]
impl Debug for CanonicalClassQueryfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Eq for CanonicalClassQuery[src]
impl Eq for CanonicalClassQueryfn assert_receiver_is_total_eq(&self)[src]
fn assert_receiver_is_total_eq(&self)impl PartialEq for CanonicalClassQuery[src]
impl PartialEq for CanonicalClassQueryfn eq(&self, other: &CanonicalClassQuery) -> bool[src]
fn eq(&self, other: &CanonicalClassQuery) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &CanonicalClassQuery) -> bool[src]
fn ne(&self, other: &CanonicalClassQuery) -> boolThis method tests for !=.
Auto Trait Implementations
impl Send for CanonicalClassQuery
impl Send for CanonicalClassQueryimpl Sync for CanonicalClassQuery
impl Sync for CanonicalClassQuery