Struct icu_capi::properties_sets::ffi::CodePointSetData

source ·
pub struct CodePointSetData(pub CodePointSetData);
Expand description

An ICU4X Unicode Set Property object, capable of querying whether a code point is contained in a set based on a Unicode property.

Tuple Fields§

§0: CodePointSetData

Implementations§

source§

impl CodePointSetData

source

pub fn contains(&self, cp: DiplomatChar) -> bool

Checks whether the code point is in the set.

source

pub fn iter_ranges<'a>(&'a self) -> Box<CodePointRangeIterator<'a>>

Produces an iterator over ranges of code points contained in this set

source

pub fn iter_ranges_complemented<'a>(&'a self) -> Box<CodePointRangeIterator<'a>>

Produces an iterator over ranges of code points not contained in this set

source

pub fn load_for_general_category_group( provider: &DataProvider, group: u32, ) -> Result<Box<CodePointSetData>, DataError>

which is a mask with the same format as the U_GC_XX_MASK mask in ICU4C

source

pub fn load_ascii_hex_digit( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>

source

pub fn load_alnum( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>

source

pub fn load_alphabetic( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>

source

pub fn load_bidi_control( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>

source

pub fn load_bidi_mirrored( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>

source

pub fn load_blank( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>

source

pub fn load_cased( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>

source

pub fn load_case_ignorable( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>

source

pub fn load_full_composition_exclusion( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>

source

pub fn load_changes_when_casefolded( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>

source

pub fn load_changes_when_casemapped( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>

source

pub fn load_changes_when_nfkc_casefolded( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>

source

pub fn load_changes_when_lowercased( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>

source

pub fn load_changes_when_titlecased( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>

source

pub fn load_changes_when_uppercased( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>

source

pub fn load_dash( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>

source

pub fn load_deprecated( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>

source

pub fn load_default_ignorable_code_point( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>

source

pub fn load_diacritic( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>

source

pub fn load_emoji_modifier_base( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>

source

pub fn load_emoji_component( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>

source

pub fn load_emoji_modifier( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>

source

pub fn load_emoji( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>

source

pub fn load_emoji_presentation( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>

source

pub fn load_extender( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>

source

pub fn load_extended_pictographic( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>

source

pub fn load_graph( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>

source

pub fn load_grapheme_base( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>

source

pub fn load_grapheme_extend( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>

source

pub fn load_hex_digit( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>

source

pub fn load_hyphen( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>

source

pub fn load_id_continue( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>

source

pub fn load_ideographic( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>

source

pub fn load_id_start( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>

source

pub fn load_ids_binary_operator( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>

source

pub fn load_ids_trinary_operator( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>

source

pub fn load_join_control( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>

source

pub fn load_logical_order_exception( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>

source

pub fn load_lowercase( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>

source

pub fn load_math( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>

source

pub fn load_noncharacter_code_point( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>

source

pub fn load_nfc_inert( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>

source

pub fn load_nfd_inert( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>

source

pub fn load_nfkc_inert( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>

source

pub fn load_nfkd_inert( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>

source

pub fn load_pattern_syntax( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>

source

pub fn load_pattern_white_space( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>

source

pub fn load_prepended_concatenation_mark( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>

source

pub fn load_print( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>

source

pub fn load_quotation_mark( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>

source

pub fn load_radical( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>

source

pub fn load_regional_indicator( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>

source

pub fn load_soft_dotted( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>

source

pub fn load_segment_starter( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>

source

pub fn load_case_sensitive( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>

source

pub fn load_sentence_terminal( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>

source

pub fn load_terminal_punctuation( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>

source

pub fn load_unified_ideograph( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>

source

pub fn load_uppercase( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>

source

pub fn load_variation_selector( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>

source

pub fn load_white_space( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>

source

pub fn load_xdigit( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>

source

pub fn load_xid_continue( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>

source

pub fn load_xid_start( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>

source

pub fn load_for_ecma262( provider: &DataProvider, property_name: &DiplomatStr, ) -> Result<Box<CodePointSetData>, DataError>

Loads data for a property specified as a string as long as it is one of the ECMA-262 binary properties (not including Any, ASCII, and Assigned pseudoproperties).

Returns DataError::Custom in case the string does not match any property in the list.

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> 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> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. 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.
source§

impl<T> ErasedDestructor for T
where T: 'static,

source§

impl<T> MaybeSendSync for T
where T: Send + Sync,