#[non_exhaustive]enum StringProperty {
Show 14 variants
Age = 16_384,
BidiMirroringGlyph = 16_385,
BidiPairedBracket = 16_397,
CaseFolding = 16_386,
ISOComment = 16_387,
LowercaseMapping = 16_388,
Name = 16_389,
SimpleCaseFolding = 16_390,
SimpleLowercaseMapping = 16_391,
SimpleTitlecaseMapping = 16_392,
SimpleUppercaseMapping = 16_393,
TitlecaseMapping = 16_394,
Unicode1Name = 16_395,
UppercaseMapping = 16_396,
}Expand description
This type can represent any Unicode string 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.
Age = 16_384
BidiMirroringGlyph = 16_385
BidiPairedBracket = 16_397
CaseFolding = 16_386
ISOComment = 16_387
LowercaseMapping = 16_388
Name = 16_389
SimpleCaseFolding = 16_390
SimpleLowercaseMapping = 16_391
SimpleTitlecaseMapping = 16_392
SimpleUppercaseMapping = 16_393
TitlecaseMapping = 16_394
Unicode1Name = 16_395
UppercaseMapping = 16_396
Trait Implementations§
Source§impl Clone for StringProperty
impl Clone for StringProperty
Source§fn clone(&self) -> StringProperty
fn clone(&self) -> StringProperty
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 StringProperty
impl Debug for StringProperty
Source§impl Hash for StringProperty
impl Hash for StringProperty
Source§impl Ord for StringProperty
impl Ord for StringProperty
Source§fn cmp(&self, other: &StringProperty) -> Ordering
fn cmp(&self, other: &StringProperty) -> 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 StringProperty
impl PartialEq for StringProperty
Source§fn eq(&self, other: &StringProperty) -> bool
fn eq(&self, other: &StringProperty) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for StringProperty
impl PartialOrd for StringProperty
impl Copy for StringProperty
impl Eq for StringProperty
impl StructuralPartialEq for StringProperty
Auto Trait Implementations§
impl Freeze for StringProperty
impl RefUnwindSafe for StringProperty
impl Send for StringProperty
impl Sync for StringProperty
impl Unpin for StringProperty
impl UnsafeUnpin for StringProperty
impl UnwindSafe for StringProperty
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