#[non_exhaustive]enum MaskProperty {
GeneralCategoryMask = 8_192,
}Expand description
This type can represent any Unicode mask property.
This is intended to be used in situations where the exact unicode property needed is only known at runtime, for example in regex engines.
The values are intended to be identical to ICU4C’s UProperty enum
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
GeneralCategoryMask = 8_192
Trait Implementations§
Source§impl Clone for MaskProperty
impl Clone for MaskProperty
Source§fn clone(&self) -> MaskProperty
fn clone(&self) -> MaskProperty
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MaskProperty
impl Debug for MaskProperty
Source§impl Hash for MaskProperty
impl Hash for MaskProperty
Source§impl Ord for MaskProperty
impl Ord for MaskProperty
Source§fn cmp(&self, other: &MaskProperty) -> Ordering
fn cmp(&self, other: &MaskProperty) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for MaskProperty
impl PartialEq for MaskProperty
Source§fn eq(&self, other: &MaskProperty) -> bool
fn eq(&self, other: &MaskProperty) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for MaskProperty
impl PartialOrd for MaskProperty
impl Copy for MaskProperty
impl Eq for MaskProperty
impl StructuralPartialEq for MaskProperty
Auto Trait Implementations§
impl Freeze for MaskProperty
impl RefUnwindSafe for MaskProperty
impl Send for MaskProperty
impl Sync for MaskProperty
impl Unpin for MaskProperty
impl UnsafeUnpin for MaskProperty
impl UnwindSafe for MaskProperty
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