Struct icu::properties::props::EmojiPresentation
source · #[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