Struct icu::properties::props::IdsTrinaryOperator
source · #[non_exhaustive]pub struct IdsTrinaryOperator;
Expand description
Characters used in Ideographic Description Sequences.
§Example
use icu::properties::CodePointSetData;
use icu::properties::props::IdsTrinaryOperator;
let ids_trinary_operator = CodePointSetData::new::<IdsTrinaryOperator>();
assert!(ids_trinary_operator.contains('\u{2FF2}')); // IDEOGRAPHIC DESCRIPTION CHARACTER LEFT TO MIDDLE AND RIGHT
assert!(ids_trinary_operator.contains('\u{2FF3}')); // IDEOGRAPHIC DESCRIPTION CHARACTER ABOVE TO MIDDLE AND BELOW
assert!(!ids_trinary_operator.contains('\u{2FF4}'));
assert!(!ids_trinary_operator.contains('\u{2FF5}')); // IDEOGRAPHIC DESCRIPTION CHARACTER SURROUND FROM ABOVE
assert!(!ids_trinary_operator.contains('\u{3006}')); // IDEOGRAPHIC CLOSING MARK
Trait Implementations§
source§impl BinaryProperty for IdsTrinaryOperator
impl BinaryProperty for IdsTrinaryOperator
Auto Trait Implementations§
impl Freeze for IdsTrinaryOperator
impl RefUnwindSafe for IdsTrinaryOperator
impl Send for IdsTrinaryOperator
impl Sync for IdsTrinaryOperator
impl Unpin for IdsTrinaryOperator
impl UnwindSafe for IdsTrinaryOperator
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