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
impl CodePointSetData
sourcepub fn iter_ranges<'a>(&'a self) -> Box<CodePointRangeIterator<'a>>
pub fn iter_ranges<'a>(&'a self) -> Box<CodePointRangeIterator<'a>>
Produces an iterator over ranges of code points contained in this set
sourcepub fn iter_ranges_complemented<'a>(&'a self) -> Box<CodePointRangeIterator<'a>>
pub fn iter_ranges_complemented<'a>(&'a self) -> Box<CodePointRangeIterator<'a>>
Produces an iterator over ranges of code points not contained in this set
sourcepub fn load_for_general_category_group(
provider: &DataProvider,
group: u32,
) -> Result<Box<CodePointSetData>, DataError>
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
pub fn load_ascii_hex_digit( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>
pub fn load_alnum( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>
pub fn load_alphabetic( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>
pub fn load_bidi_control( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>
pub fn load_bidi_mirrored( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>
pub fn load_blank( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>
pub fn load_cased( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>
pub fn load_case_ignorable( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>
pub fn load_full_composition_exclusion( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>
pub fn load_changes_when_casefolded( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>
pub fn load_changes_when_casemapped( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>
pub fn load_changes_when_nfkc_casefolded( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>
pub fn load_changes_when_lowercased( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>
pub fn load_changes_when_titlecased( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>
pub fn load_changes_when_uppercased( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>
pub fn load_dash( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>
pub fn load_deprecated( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>
pub fn load_default_ignorable_code_point( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>
pub fn load_diacritic( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>
pub fn load_emoji_modifier_base( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>
pub fn load_emoji_component( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>
pub fn load_emoji_modifier( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>
pub fn load_emoji( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>
pub fn load_emoji_presentation( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>
pub fn load_extender( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>
pub fn load_extended_pictographic( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>
pub fn load_graph( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>
pub fn load_grapheme_base( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>
pub fn load_grapheme_extend( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>
pub fn load_grapheme_link( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>
pub fn load_hex_digit( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>
pub fn load_hyphen( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>
pub fn load_id_continue( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>
pub fn load_ideographic( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>
pub fn load_id_start( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>
pub fn load_ids_binary_operator( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>
pub fn load_ids_trinary_operator( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>
pub fn load_join_control( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>
pub fn load_logical_order_exception( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>
pub fn load_lowercase( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>
pub fn load_math( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>
pub fn load_noncharacter_code_point( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>
pub fn load_nfc_inert( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>
pub fn load_nfd_inert( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>
pub fn load_nfkc_inert( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>
pub fn load_nfkd_inert( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>
pub fn load_pattern_syntax( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>
pub fn load_pattern_white_space( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>
pub fn load_prepended_concatenation_mark( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>
pub fn load_print( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>
pub fn load_quotation_mark( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>
pub fn load_radical( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>
pub fn load_regional_indicator( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>
pub fn load_soft_dotted( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>
pub fn load_segment_starter( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>
pub fn load_case_sensitive( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>
pub fn load_sentence_terminal( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>
pub fn load_terminal_punctuation( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>
pub fn load_unified_ideograph( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>
pub fn load_uppercase( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>
pub fn load_variation_selector( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>
pub fn load_white_space( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>
pub fn load_xdigit( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>
pub fn load_xid_continue( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>
pub fn load_xid_start( provider: &DataProvider, ) -> Result<Box<CodePointSetData>, DataError>
sourcepub fn load_for_ecma262(
provider: &DataProvider,
property_name: &DiplomatStr,
) -> Result<Box<CodePointSetData>, DataError>
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§
impl Freeze for CodePointSetData
impl RefUnwindSafe for CodePointSetData
impl Send for CodePointSetData
impl Sync for CodePointSetData
impl Unpin for CodePointSetData
impl UnwindSafe for CodePointSetData
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
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
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 moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
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