#[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
impl<T> ErasedDestructor for Twhere
T: 'static,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 0 bytes