#[non_exhaustive]pub struct EmojiComponent;
Expand description
Characters used in emoji sequences that normally do not appear on emoji keyboards as separate choices, such as base characters for emoji keycaps.
ยงExample
use icu::properties::CodePointSetData;
use icu::properties::props::EmojiComponent;
let emoji_component = CodePointSetData::new::<EmojiComponent>();
assert!(emoji_component.contains('๐น')); // U+1F1F9 REGIONAL INDICATOR SYMBOL LETTER T
assert!(emoji_component.contains('\u{20E3}')); // COMBINING ENCLOSING KEYCAP
assert!(emoji_component.contains('7'));
assert!(!emoji_component.contains('T'));
Trait Implementationsยง
Sourceยงimpl BinaryProperty for EmojiComponent
impl BinaryProperty for EmojiComponent
Auto Trait Implementationsยง
impl Freeze for EmojiComponent
impl RefUnwindSafe for EmojiComponent
impl Send for EmojiComponent
impl Sync for EmojiComponent
impl Unpin for EmojiComponent
impl UnwindSafe for EmojiComponent
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