#[non_exhaustive]pub struct EmojiPresentation;
Expand description
Characters that have emoji presentation by default.
ยงExample
use icu::properties::CodePointSetData;
use icu::properties::props::EmojiPresentation;
let emoji_presentation = CodePointSetData::new::<EmojiPresentation>();
assert!(emoji_presentation.contains('๐ฆฌ')); // U+1F9AC BISON
assert!(!emoji_presentation.contains('โป')); // U+267B BLACK UNIVERSAL RECYCLING SYMBOL
Trait Implementationsยง
Sourceยงimpl BinaryProperty for EmojiPresentation
impl BinaryProperty for EmojiPresentation
Auto Trait Implementationsยง
impl Freeze for EmojiPresentation
impl RefUnwindSafe for EmojiPresentation
impl Send for EmojiPresentation
impl Sync for EmojiPresentation
impl Unpin for EmojiPresentation
impl UnwindSafe for EmojiPresentation
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