#[non_exhaustive]enum NumericProperty {
NumericValue = 12_288,
}Expand description
This type can represent any numeric Unicode 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.
NumericValue = 12_288
Trait Implementations§
Source§impl Clone for NumericProperty
impl Clone for NumericProperty
Source§fn clone(&self) -> NumericProperty
fn clone(&self) -> NumericProperty
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 NumericProperty
impl Debug for NumericProperty
Source§impl Hash for NumericProperty
impl Hash for NumericProperty
Source§impl Ord for NumericProperty
impl Ord for NumericProperty
Source§fn cmp(&self, other: &NumericProperty) -> Ordering
fn cmp(&self, other: &NumericProperty) -> 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 NumericProperty
impl PartialEq for NumericProperty
Source§fn eq(&self, other: &NumericProperty) -> bool
fn eq(&self, other: &NumericProperty) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for NumericProperty
impl PartialOrd for NumericProperty
impl Copy for NumericProperty
impl Eq for NumericProperty
impl StructuralPartialEq for NumericProperty
Auto Trait Implementations§
impl Freeze for NumericProperty
impl RefUnwindSafe for NumericProperty
impl Send for NumericProperty
impl Sync for NumericProperty
impl Unpin for NumericProperty
impl UnsafeUnpin for NumericProperty
impl UnwindSafe for NumericProperty
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