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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)