Struct idna_adapter::BidiClass
source · #[repr(transparent)]pub struct BidiClass(pub(crate) BidiClass);
Expand description
Value for the Bidi_Class Unicode property.
Tuple Fields§
§0: BidiClass
Implementations§
source§impl BidiClass
impl BidiClass
sourcepub fn to_mask(self) -> BidiClassMask
pub fn to_mask(self) -> BidiClassMask
Returns the corresponding BidiClassMask
.
sourcepub fn is_nonspacing_mark(self) -> bool
pub fn is_nonspacing_mark(self) -> bool
true
iff this value is Nonspacing_Mark
sourcepub fn is_european_number(self) -> bool
pub fn is_european_number(self) -> bool
true
iff this value is European_Number
sourcepub fn is_arabic_number(self) -> bool
pub fn is_arabic_number(self) -> bool
true
iff this value is Arabic_Number
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BidiClass
impl RefUnwindSafe for BidiClass
impl Send for BidiClass
impl Sync for BidiClass
impl Unpin for BidiClass
impl UnwindSafe for BidiClass
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