struct WidthInfo(u16);
Tuple Fields§
§0: u16
Implementations§
Source§impl WidthInfo
impl WidthInfo
const LINE_FEED: Self
const EMOJI_MODIFIER: Self
const REGIONAL_INDICATOR: Self
const SEVERAL_REGIONAL_INDICATOR: Self
const EMOJI_PRESENTATION: Self
const ZWJ_EMOJI_PRESENTATION: Self
const VS16_ZWJ_EMOJI_PRESENTATION: Self
const KEYCAP_ZWJ_EMOJI_PRESENTATION: Self
const VS16_KEYCAP_ZWJ_EMOJI_PRESENTATION: Self
const REGIONAL_INDICATOR_ZWJ_PRESENTATION: Self
const EVEN_REGIONAL_INDICATOR_ZWJ_PRESENTATION: Self
const ODD_REGIONAL_INDICATOR_ZWJ_PRESENTATION: Self
const TAG_END_ZWJ_EMOJI_PRESENTATION: Self
const TAG_D1_END_ZWJ_EMOJI_PRESENTATION: Self
const TAG_D2_END_ZWJ_EMOJI_PRESENTATION: Self
const TAG_D3_END_ZWJ_EMOJI_PRESENTATION: Self
const TAG_A1_END_ZWJ_EMOJI_PRESENTATION: Self
const TAG_A2_END_ZWJ_EMOJI_PRESENTATION: Self
const TAG_A3_END_ZWJ_EMOJI_PRESENTATION: Self
const TAG_A4_END_ZWJ_EMOJI_PRESENTATION: Self
const TAG_A5_END_ZWJ_EMOJI_PRESENTATION: Self
const TAG_A6_END_ZWJ_EMOJI_PRESENTATION: Self
const VARIATION_SELECTOR_15: Self
const VARIATION_SELECTOR_16: Self
const JOINING_GROUP_ALEF: Self
const COMBINING_LONG_SOLIDUS_OVERLAY: Self
const SOLIDUS_OVERLAY_ALEF: Self
const HEBREW_LETTER_LAMED: Self
const ZWJ_HEBREW_LETTER_LAMED: Self
const BUGINESE_LETTER_YA: Self
const ZWJ_BUGINESE_LETTER_YA: Self
const BUGINESE_VOWEL_SIGN_I_ZWJ_LETTER_YA: Self
const TIFINAGH_CONSONANT: Self
const ZWJ_TIFINAGH_CONSONANT: Self
const TIFINAGH_JOINER_CONSONANT: Self
const LISU_TONE_LETTER_MYA_NA_JEU: Self
const OLD_TURKIC_LETTER_ORKHON_I: Self
const ZWJ_OLD_TURKIC_LETTER_ORKHON_I: Self
const KHMER_COENG_ELIGIBLE_LETTER: Self
Sourcefn is_ligature_transparent(self) -> bool
fn is_ligature_transparent(self) -> bool
Whether this width mode is ligature_transparent (has 5th MSB set.)
Sourcefn set_zwj_bit(self) -> Self
fn set_zwj_bit(self) -> Self
Sets 6th MSB.
Sourcefn is_emoji_presentation(self) -> bool
fn is_emoji_presentation(self) -> bool
Has top bit set
Sourcefn is_zwj_emoji_presentation(self) -> bool
fn is_zwj_emoji_presentation(self) -> bool
Has top bit set
Sourcefn set_emoji_presentation(self) -> Self
fn set_emoji_presentation(self) -> Self
Set top bit
Sourcefn unset_emoji_presentation(self) -> Self
fn unset_emoji_presentation(self) -> Self
Clear top bit
Sourcefn is_text_presentation(self) -> bool
fn is_text_presentation(self) -> bool
Has 2nd bit set
Sourcefn set_text_presentation(self) -> Self
fn set_text_presentation(self) -> Self
Set 2nd bit
Sourcefn unset_text_presentation(self) -> Self
fn unset_text_presentation(self) -> Self
Clear 2nd bit
Trait Implementations§
impl Copy for WidthInfo
impl Eq for WidthInfo
impl StructuralPartialEq for WidthInfo
Auto Trait Implementations§
impl Freeze for WidthInfo
impl RefUnwindSafe for WidthInfo
impl Send for WidthInfo
impl Sync for WidthInfo
impl Unpin for WidthInfo
impl UnwindSafe for WidthInfo
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