#[non_exhaustive]enum StringBinaryProperty {
BasicEmoji = 65,
EmojiKeycapSequence = 66,
RgiEmoji = 71,
RgiEmojiFlagSequence = 68,
RgiEmojiModifierSequence = 67,
RgiEmojiTagSequence = 69,
RgiEmojiZWJSequence = 70,
}Expand description
This type can represent any binary property over strings.
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.
BasicEmoji = 65
EmojiKeycapSequence = 66
RgiEmoji = 71
RgiEmojiFlagSequence = 68
RgiEmojiModifierSequence = 67
RgiEmojiTagSequence = 69
RgiEmojiZWJSequence = 70
Trait Implementations§
Source§impl Clone for StringBinaryProperty
impl Clone for StringBinaryProperty
Source§fn clone(&self) -> StringBinaryProperty
fn clone(&self) -> StringBinaryProperty
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 StringBinaryProperty
impl Debug for StringBinaryProperty
Source§impl Hash for StringBinaryProperty
impl Hash for StringBinaryProperty
Source§impl Ord for StringBinaryProperty
impl Ord for StringBinaryProperty
Source§fn cmp(&self, other: &StringBinaryProperty) -> Ordering
fn cmp(&self, other: &StringBinaryProperty) -> 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 StringBinaryProperty
impl PartialEq for StringBinaryProperty
Source§fn eq(&self, other: &StringBinaryProperty) -> bool
fn eq(&self, other: &StringBinaryProperty) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for StringBinaryProperty
impl PartialOrd for StringBinaryProperty
impl Copy for StringBinaryProperty
impl Eq for StringBinaryProperty
impl StructuralPartialEq for StringBinaryProperty
Auto Trait Implementations§
impl Freeze for StringBinaryProperty
impl RefUnwindSafe for StringBinaryProperty
impl Send for StringBinaryProperty
impl Sync for StringBinaryProperty
impl Unpin for StringBinaryProperty
impl UnsafeUnpin for StringBinaryProperty
impl UnwindSafe for StringBinaryProperty
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