rust_icu_sys

Enum UProperty

Source
#[repr(i32)]
pub enum UProperty {
Show 124 variants UCHAR_ALPHABETIC = 0, UCHAR_ASCII_HEX_DIGIT = 1, UCHAR_BIDI_CONTROL = 2, UCHAR_BIDI_MIRRORED = 3, UCHAR_DASH = 4, UCHAR_DEFAULT_IGNORABLE_CODE_POINT = 5, UCHAR_DEPRECATED = 6, UCHAR_DIACRITIC = 7, UCHAR_EXTENDER = 8, UCHAR_FULL_COMPOSITION_EXCLUSION = 9, UCHAR_GRAPHEME_BASE = 10, UCHAR_GRAPHEME_EXTEND = 11, UCHAR_GRAPHEME_LINK = 12, UCHAR_HEX_DIGIT = 13, UCHAR_HYPHEN = 14, UCHAR_ID_CONTINUE = 15, UCHAR_ID_START = 16, UCHAR_IDEOGRAPHIC = 17, UCHAR_IDS_BINARY_OPERATOR = 18, UCHAR_IDS_TRINARY_OPERATOR = 19, UCHAR_JOIN_CONTROL = 20, UCHAR_LOGICAL_ORDER_EXCEPTION = 21, UCHAR_LOWERCASE = 22, UCHAR_MATH = 23, UCHAR_NONCHARACTER_CODE_POINT = 24, UCHAR_QUOTATION_MARK = 25, UCHAR_RADICAL = 26, UCHAR_SOFT_DOTTED = 27, UCHAR_TERMINAL_PUNCTUATION = 28, UCHAR_UNIFIED_IDEOGRAPH = 29, UCHAR_UPPERCASE = 30, UCHAR_WHITE_SPACE = 31, UCHAR_XID_CONTINUE = 32, UCHAR_XID_START = 33, UCHAR_CASE_SENSITIVE = 34, UCHAR_S_TERM = 35, UCHAR_VARIATION_SELECTOR = 36, UCHAR_NFD_INERT = 37, UCHAR_NFKD_INERT = 38, UCHAR_NFC_INERT = 39, UCHAR_NFKC_INERT = 40, UCHAR_SEGMENT_STARTER = 41, UCHAR_PATTERN_SYNTAX = 42, UCHAR_PATTERN_WHITE_SPACE = 43, UCHAR_POSIX_ALNUM = 44, UCHAR_POSIX_BLANK = 45, UCHAR_POSIX_GRAPH = 46, UCHAR_POSIX_PRINT = 47, UCHAR_POSIX_XDIGIT = 48, UCHAR_CASED = 49, UCHAR_CASE_IGNORABLE = 50, UCHAR_CHANGES_WHEN_LOWERCASED = 51, UCHAR_CHANGES_WHEN_UPPERCASED = 52, UCHAR_CHANGES_WHEN_TITLECASED = 53, UCHAR_CHANGES_WHEN_CASEFOLDED = 54, UCHAR_CHANGES_WHEN_CASEMAPPED = 55, UCHAR_CHANGES_WHEN_NFKC_CASEFOLDED = 56, UCHAR_EMOJI = 57, UCHAR_EMOJI_PRESENTATION = 58, UCHAR_EMOJI_MODIFIER = 59, UCHAR_EMOJI_MODIFIER_BASE = 60, UCHAR_EMOJI_COMPONENT = 61, UCHAR_REGIONAL_INDICATOR = 62, UCHAR_PREPENDED_CONCATENATION_MARK = 63, UCHAR_EXTENDED_PICTOGRAPHIC = 64, UCHAR_BASIC_EMOJI = 65, UCHAR_EMOJI_KEYCAP_SEQUENCE = 66, UCHAR_RGI_EMOJI_MODIFIER_SEQUENCE = 67, UCHAR_RGI_EMOJI_FLAG_SEQUENCE = 68, UCHAR_RGI_EMOJI_TAG_SEQUENCE = 69, UCHAR_RGI_EMOJI_ZWJ_SEQUENCE = 70, UCHAR_RGI_EMOJI = 71, UCHAR_IDS_UNARY_OPERATOR = 72, UCHAR_ID_COMPAT_MATH_START = 73, UCHAR_ID_COMPAT_MATH_CONTINUE = 74, UCHAR_BINARY_LIMIT = 75, UCHAR_BIDI_CLASS = 4_096, UCHAR_BLOCK = 4_097, UCHAR_CANONICAL_COMBINING_CLASS = 4_098, UCHAR_DECOMPOSITION_TYPE = 4_099, UCHAR_EAST_ASIAN_WIDTH = 4_100, UCHAR_GENERAL_CATEGORY = 4_101, UCHAR_JOINING_GROUP = 4_102, UCHAR_JOINING_TYPE = 4_103, UCHAR_LINE_BREAK = 4_104, UCHAR_NUMERIC_TYPE = 4_105, UCHAR_SCRIPT = 4_106, UCHAR_HANGUL_SYLLABLE_TYPE = 4_107, UCHAR_NFD_QUICK_CHECK = 4_108, UCHAR_NFKD_QUICK_CHECK = 4_109, UCHAR_NFC_QUICK_CHECK = 4_110, UCHAR_NFKC_QUICK_CHECK = 4_111, UCHAR_LEAD_CANONICAL_COMBINING_CLASS = 4_112, UCHAR_TRAIL_CANONICAL_COMBINING_CLASS = 4_113, UCHAR_GRAPHEME_CLUSTER_BREAK = 4_114, UCHAR_SENTENCE_BREAK = 4_115, UCHAR_WORD_BREAK = 4_116, UCHAR_BIDI_PAIRED_BRACKET_TYPE = 4_117, UCHAR_INDIC_POSITIONAL_CATEGORY = 4_118, UCHAR_INDIC_SYLLABIC_CATEGORY = 4_119, UCHAR_VERTICAL_ORIENTATION = 4_120, UCHAR_INT_LIMIT = 4_121, UCHAR_GENERAL_CATEGORY_MASK = 8_192, UCHAR_MASK_LIMIT = 8_193, UCHAR_NUMERIC_VALUE = 12_288, UCHAR_DOUBLE_LIMIT = 12_289, UCHAR_AGE = 16_384, UCHAR_BIDI_MIRRORING_GLYPH = 16_385, UCHAR_CASE_FOLDING = 16_386, UCHAR_ISO_COMMENT = 16_387, UCHAR_LOWERCASE_MAPPING = 16_388, UCHAR_NAME = 16_389, UCHAR_SIMPLE_CASE_FOLDING = 16_390, UCHAR_SIMPLE_LOWERCASE_MAPPING = 16_391, UCHAR_SIMPLE_TITLECASE_MAPPING = 16_392, UCHAR_SIMPLE_UPPERCASE_MAPPING = 16_393, UCHAR_TITLECASE_MAPPING = 16_394, UCHAR_UNICODE_1_NAME = 16_395, UCHAR_UPPERCASE_MAPPING = 16_396, UCHAR_BIDI_PAIRED_BRACKET = 16_397, UCHAR_STRING_LIMIT = 16_398, UCHAR_SCRIPT_EXTENSIONS = 28_672, UCHAR_OTHER_PROPERTY_LIMIT = 28_673, UCHAR_INVALID_CODE = -1,
}

Variants§

§

UCHAR_ALPHABETIC = 0

§

UCHAR_ASCII_HEX_DIGIT = 1

§

UCHAR_BIDI_CONTROL = 2

§

UCHAR_BIDI_MIRRORED = 3

§

UCHAR_DASH = 4

§

UCHAR_DEFAULT_IGNORABLE_CODE_POINT = 5

§

UCHAR_DEPRECATED = 6

§

UCHAR_DIACRITIC = 7

§

UCHAR_EXTENDER = 8

§

UCHAR_FULL_COMPOSITION_EXCLUSION = 9

§

UCHAR_GRAPHEME_BASE = 10

§

UCHAR_GRAPHEME_EXTEND = 11

§

UCHAR_HEX_DIGIT = 13

§

UCHAR_HYPHEN = 14

§

UCHAR_ID_CONTINUE = 15

§

UCHAR_ID_START = 16

§

UCHAR_IDEOGRAPHIC = 17

§

UCHAR_IDS_BINARY_OPERATOR = 18

§

UCHAR_IDS_TRINARY_OPERATOR = 19

§

UCHAR_JOIN_CONTROL = 20

§

UCHAR_LOGICAL_ORDER_EXCEPTION = 21

§

UCHAR_LOWERCASE = 22

§

UCHAR_MATH = 23

§

UCHAR_NONCHARACTER_CODE_POINT = 24

§

UCHAR_QUOTATION_MARK = 25

§

UCHAR_RADICAL = 26

§

UCHAR_SOFT_DOTTED = 27

§

UCHAR_TERMINAL_PUNCTUATION = 28

§

UCHAR_UNIFIED_IDEOGRAPH = 29

§

UCHAR_UPPERCASE = 30

§

UCHAR_WHITE_SPACE = 31

§

UCHAR_XID_CONTINUE = 32

§

UCHAR_XID_START = 33

§

UCHAR_CASE_SENSITIVE = 34

§

UCHAR_S_TERM = 35

§

UCHAR_VARIATION_SELECTOR = 36

§

UCHAR_NFD_INERT = 37

§

UCHAR_NFKD_INERT = 38

§

UCHAR_NFC_INERT = 39

§

UCHAR_NFKC_INERT = 40

§

UCHAR_SEGMENT_STARTER = 41

§

UCHAR_PATTERN_SYNTAX = 42

§

UCHAR_PATTERN_WHITE_SPACE = 43

§

UCHAR_POSIX_ALNUM = 44

§

UCHAR_POSIX_BLANK = 45

§

UCHAR_POSIX_GRAPH = 46

§

UCHAR_POSIX_PRINT = 47

§

UCHAR_POSIX_XDIGIT = 48

§

UCHAR_CASED = 49

§

UCHAR_CASE_IGNORABLE = 50

§

UCHAR_CHANGES_WHEN_LOWERCASED = 51

§

UCHAR_CHANGES_WHEN_UPPERCASED = 52

§

UCHAR_CHANGES_WHEN_TITLECASED = 53

§

UCHAR_CHANGES_WHEN_CASEFOLDED = 54

§

UCHAR_CHANGES_WHEN_CASEMAPPED = 55

§

UCHAR_CHANGES_WHEN_NFKC_CASEFOLDED = 56

§

UCHAR_EMOJI = 57

§

UCHAR_EMOJI_PRESENTATION = 58

§

UCHAR_EMOJI_MODIFIER = 59

§

UCHAR_EMOJI_MODIFIER_BASE = 60

§

UCHAR_EMOJI_COMPONENT = 61

§

UCHAR_REGIONAL_INDICATOR = 62

§

UCHAR_PREPENDED_CONCATENATION_MARK = 63

§

UCHAR_EXTENDED_PICTOGRAPHIC = 64

§

UCHAR_BASIC_EMOJI = 65

§

UCHAR_EMOJI_KEYCAP_SEQUENCE = 66

§

UCHAR_RGI_EMOJI_MODIFIER_SEQUENCE = 67

§

UCHAR_RGI_EMOJI_FLAG_SEQUENCE = 68

§

UCHAR_RGI_EMOJI_TAG_SEQUENCE = 69

§

UCHAR_RGI_EMOJI_ZWJ_SEQUENCE = 70

§

UCHAR_RGI_EMOJI = 71

§

UCHAR_IDS_UNARY_OPERATOR = 72

§

UCHAR_ID_COMPAT_MATH_START = 73

§

UCHAR_ID_COMPAT_MATH_CONTINUE = 74

§

UCHAR_BINARY_LIMIT = 75

§

UCHAR_BIDI_CLASS = 4_096

§

UCHAR_BLOCK = 4_097

§

UCHAR_CANONICAL_COMBINING_CLASS = 4_098

§

UCHAR_DECOMPOSITION_TYPE = 4_099

§

UCHAR_EAST_ASIAN_WIDTH = 4_100

§

UCHAR_GENERAL_CATEGORY = 4_101

§

UCHAR_JOINING_GROUP = 4_102

§

UCHAR_JOINING_TYPE = 4_103

§

UCHAR_LINE_BREAK = 4_104

§

UCHAR_NUMERIC_TYPE = 4_105

§

UCHAR_SCRIPT = 4_106

§

UCHAR_HANGUL_SYLLABLE_TYPE = 4_107

§

UCHAR_NFD_QUICK_CHECK = 4_108

§

UCHAR_NFKD_QUICK_CHECK = 4_109

§

UCHAR_NFC_QUICK_CHECK = 4_110

§

UCHAR_NFKC_QUICK_CHECK = 4_111

§

UCHAR_LEAD_CANONICAL_COMBINING_CLASS = 4_112

§

UCHAR_TRAIL_CANONICAL_COMBINING_CLASS = 4_113

§

UCHAR_GRAPHEME_CLUSTER_BREAK = 4_114

§

UCHAR_SENTENCE_BREAK = 4_115

§

UCHAR_WORD_BREAK = 4_116

§

UCHAR_BIDI_PAIRED_BRACKET_TYPE = 4_117

§

UCHAR_INDIC_POSITIONAL_CATEGORY = 4_118

§

UCHAR_INDIC_SYLLABIC_CATEGORY = 4_119

§

UCHAR_VERTICAL_ORIENTATION = 4_120

§

UCHAR_INT_LIMIT = 4_121

§

UCHAR_GENERAL_CATEGORY_MASK = 8_192

§

UCHAR_MASK_LIMIT = 8_193

§

UCHAR_NUMERIC_VALUE = 12_288

§

UCHAR_DOUBLE_LIMIT = 12_289

§

UCHAR_AGE = 16_384

§

UCHAR_BIDI_MIRRORING_GLYPH = 16_385

§

UCHAR_CASE_FOLDING = 16_386

§

UCHAR_ISO_COMMENT = 16_387

§

UCHAR_LOWERCASE_MAPPING = 16_388

§

UCHAR_NAME = 16_389

§

UCHAR_SIMPLE_CASE_FOLDING = 16_390

§

UCHAR_SIMPLE_LOWERCASE_MAPPING = 16_391

§

UCHAR_SIMPLE_TITLECASE_MAPPING = 16_392

§

UCHAR_SIMPLE_UPPERCASE_MAPPING = 16_393

§

UCHAR_TITLECASE_MAPPING = 16_394

§

UCHAR_UNICODE_1_NAME = 16_395

§

UCHAR_UPPERCASE_MAPPING = 16_396

§

UCHAR_BIDI_PAIRED_BRACKET = 16_397

§

UCHAR_STRING_LIMIT = 16_398

§

UCHAR_SCRIPT_EXTENSIONS = 28_672

§

UCHAR_OTHER_PROPERTY_LIMIT = 28_673

§

UCHAR_INVALID_CODE = -1

Implementations§

Source§

impl UProperty

Source

pub const UCHAR_BINARY_START: UProperty = UProperty::UCHAR_ALPHABETIC

Source§

impl UProperty

Source

pub const UCHAR_INT_START: UProperty = UProperty::UCHAR_BIDI_CLASS

Source§

impl UProperty

Source

pub const UCHAR_MASK_START: UProperty = UProperty::UCHAR_GENERAL_CATEGORY_MASK

Source§

impl UProperty

Source

pub const UCHAR_DOUBLE_START: UProperty = UProperty::UCHAR_NUMERIC_VALUE

Source§

impl UProperty

Source

pub const UCHAR_STRING_START: UProperty = UProperty::UCHAR_AGE

Source§

impl UProperty

Source

pub const UCHAR_OTHER_PROPERTY_START: UProperty = UProperty::UCHAR_SCRIPT_EXTENSIONS

Trait Implementations§

Source§

impl Clone for UProperty

Source§

fn clone(&self) -> UProperty

Returns a copy of the value. Read more
1.0.0 · Source§

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

Performs copy-assignment from source. Read more
Source§

impl Debug for UProperty

Source§

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

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

impl Hash for UProperty

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 UProperty

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · 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 PartialOrd for UProperty

Source§

fn partial_cmp(&self, other: &UProperty) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · Source§

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

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · Source§

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

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · Source§

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

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · Source§

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

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
Source§

impl Copy for UProperty

Source§

impl Eq for UProperty

Source§

impl StructuralPartialEq for UProperty

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, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. 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.