Skip to main content

OtherProperties

Enum OtherProperties 

Source
#[repr(u8)]
pub enum OtherProperties {
Show 53 variants ASCII = 0, ASCII_Hex_Digit = 1, Alphabetic = 2, Any = 3, Assigned = 4, Bidi_Control = 5, Bidi_Mirrored = 6, Case_Ignorable = 7, Cased = 8, Changes_When_Casefolded = 9, Changes_When_Casemapped = 10, Changes_When_Lowercased = 11, Changes_When_NFKC_Casefolded = 12, Changes_When_Titlecased = 13, Changes_When_Uppercased = 14, Dash = 15, Default_Ignorable_Code_Point = 16, Deprecated = 17, Diacritic = 18, Emoji = 19, Emoji_Component = 20, Emoji_Modifier = 21, Emoji_Modifier_Base = 22, Emoji_Presentation = 23, Extended_Pictographic = 24, Extender = 25, Grapheme_Base = 26, Grapheme_Extend = 27, Hex_Digit = 28, IDS_Binary_Operator = 29, IDS_Trinary_Operator = 30, ID_Continue = 31, ID_Start = 32, Ideographic = 33, Join_Control = 34, Logical_Order_Exception = 35, Lowercase = 36, Math = 37, Noncharacter_Code_Point = 38, Pattern_Syntax = 39, Pattern_White_Space = 40, Quotation_Mark = 41, Radical = 42, Regional_Indicator = 43, Sentence_Terminal = 44, Soft_Dotted = 45, Terminal_Punctuation = 46, Unified_Ideograph = 47, Uppercase = 48, Variation_Selector = 49, White_Space = 50, XID_Continue = 51, XID_Start = 52,
}

Variants§

§

ASCII = 0

§

ASCII_Hex_Digit = 1

§

Alphabetic = 2

§

Any = 3

§

Assigned = 4

§

Bidi_Control = 5

§

Bidi_Mirrored = 6

§

Case_Ignorable = 7

§

Cased = 8

§

Changes_When_Casefolded = 9

§

Changes_When_Casemapped = 10

§

Changes_When_Lowercased = 11

§

Changes_When_NFKC_Casefolded = 12

§

Changes_When_Titlecased = 13

§

Changes_When_Uppercased = 14

§

Dash = 15

§

Default_Ignorable_Code_Point = 16

§

Deprecated = 17

§

Diacritic = 18

§

Emoji = 19

§

Emoji_Component = 20

§

Emoji_Modifier = 21

§

Emoji_Modifier_Base = 22

§

Emoji_Presentation = 23

§

Extended_Pictographic = 24

§

Extender = 25

§

Grapheme_Base = 26

§

Grapheme_Extend = 27

§

Hex_Digit = 28

§

IDS_Binary_Operator = 29

§

IDS_Trinary_Operator = 30

§

ID_Continue = 31

§

ID_Start = 32

§

Ideographic = 33

§

Join_Control = 34

§

Logical_Order_Exception = 35

§

Lowercase = 36

§

Math = 37

§

Noncharacter_Code_Point = 38

§

Pattern_Syntax = 39

§

Pattern_White_Space = 40

§

Quotation_Mark = 41

§

Radical = 42

§

Regional_Indicator = 43

§

Sentence_Terminal = 44

§

Soft_Dotted = 45

§

Terminal_Punctuation = 46

§

Unified_Ideograph = 47

§

Uppercase = 48

§

Variation_Selector = 49

§

White_Space = 50

§

XID_Continue = 51

§

XID_Start = 52

Implementations§

Source§

impl OtherProperties

Source

pub fn as_str(self) -> &'static str

Trait Implementations§

Source§

impl Clone for OtherProperties

Source§

fn clone(&self) -> OtherProperties

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for OtherProperties

Source§

impl Debug for OtherProperties

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Eq for OtherProperties

Source§

impl Hash for OtherProperties

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl PartialEq for OtherProperties

Source§

fn eq(&self, other: &OtherProperties) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl StructuralPartialEq for OtherProperties

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.