Struct icu_capi::properties_unisets::ffi::EmojiSetData
source · pub struct EmojiSetData(pub EmojiSetData);
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: EmojiSetData
Implementations§
source§impl EmojiSetData
impl EmojiSetData
sourcepub fn contains_str(&self, s: &DiplomatStr) -> bool
pub fn contains_str(&self, s: &DiplomatStr) -> bool
Checks whether the string is in the set.
pub fn load_basic( provider: &DataProvider, ) -> Result<Box<EmojiSetData>, DataError>
Auto Trait Implementations§
impl Freeze for EmojiSetData
impl RefUnwindSafe for EmojiSetData
impl Send for EmojiSetData
impl Sync for EmojiSetData
impl Unpin for EmojiSetData
impl UnwindSafe for EmojiSetData
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