Enum regex_syntax::unicode::CanonicalClassQuery
source · enum CanonicalClassQuery {
Binary(&'static str),
GeneralCategory(&'static str),
Script(&'static str),
ByValue {
property_name: &'static str,
property_value: &'static str,
},
}
Expand description
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.
ByValue
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.
Trait Implementations§
source§impl Debug for CanonicalClassQuery
impl Debug for CanonicalClassQuery
source§impl PartialEq for CanonicalClassQuery
impl PartialEq for CanonicalClassQuery
impl Eq for CanonicalClassQuery
impl StructuralPartialEq for CanonicalClassQuery
Auto Trait Implementations§
impl Freeze for CanonicalClassQuery
impl RefUnwindSafe for CanonicalClassQuery
impl Send for CanonicalClassQuery
impl Sync for CanonicalClassQuery
impl Unpin for CanonicalClassQuery
impl UnwindSafe for CanonicalClassQuery
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