blob: fa750a3983e38892e0b97f9f661fb925a1166873 [file] [edit]
// Copyright 2012-2025 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// NOTE: The following code was generated by "scripts/unicode.py", do not edit directly
use super::WidthInfo;
impl WidthInfo {
/// No special handling necessary
pub(crate) const DEFAULT: Self = Self(0);
pub(crate) const LINE_FEED: Self = Self(0b0000000000000001);
pub(crate) const EMOJI_MODIFIER: Self = Self(0b0000000000000010);
pub(crate) const REGIONAL_INDICATOR: Self = Self(0b0000000000000011);
pub(crate) const SEVERAL_REGIONAL_INDICATOR: Self = Self(0b0000000000000100);
pub(crate) const EMOJI_PRESENTATION: Self = Self(0b0000000000000101);
pub(crate) const ZWJ_EMOJI_PRESENTATION: Self = Self(0b0001000000000110);
pub(crate) const VS16_ZWJ_EMOJI_PRESENTATION: Self = Self(0b1001000000000110);
pub(crate) const KEYCAP_ZWJ_EMOJI_PRESENTATION: Self = Self(0b0001000000000111);
pub(crate) const VS16_KEYCAP_ZWJ_EMOJI_PRESENTATION: Self = Self(0b1001000000000111);
pub(crate) const REGIONAL_INDICATOR_ZWJ_PRESENTATION: Self = Self(0b0000000000001001);
pub(crate) const EVEN_REGIONAL_INDICATOR_ZWJ_PRESENTATION: Self = Self(0b0000000000001010);
pub(crate) const ODD_REGIONAL_INDICATOR_ZWJ_PRESENTATION: Self = Self(0b0000000000001011);
pub(crate) const TAG_END_ZWJ_EMOJI_PRESENTATION: Self = Self(0b0000000000010000);
pub(crate) const TAG_D1_END_ZWJ_EMOJI_PRESENTATION: Self = Self(0b0000000000010001);
pub(crate) const TAG_D2_END_ZWJ_EMOJI_PRESENTATION: Self = Self(0b0000000000010010);
pub(crate) const TAG_D3_END_ZWJ_EMOJI_PRESENTATION: Self = Self(0b0000000000010011);
pub(crate) const TAG_A1_END_ZWJ_EMOJI_PRESENTATION: Self = Self(0b0000000000011001);
pub(crate) const TAG_A2_END_ZWJ_EMOJI_PRESENTATION: Self = Self(0b0000000000011010);
pub(crate) const TAG_A3_END_ZWJ_EMOJI_PRESENTATION: Self = Self(0b0000000000011011);
pub(crate) const TAG_A4_END_ZWJ_EMOJI_PRESENTATION: Self = Self(0b0000000000011100);
pub(crate) const TAG_A5_END_ZWJ_EMOJI_PRESENTATION: Self = Self(0b0000000000011101);
pub(crate) const TAG_A6_END_ZWJ_EMOJI_PRESENTATION: Self = Self(0b0000000000011110);
pub(crate) const KIRAT_RAI_VOWEL_SIGN_E: Self = Self(0b0000000000100000);
pub(crate) const KIRAT_RAI_VOWEL_SIGN_AI: Self = Self(0b0000000000100001);
pub(crate) const VARIATION_SELECTOR_1_2_OR_3: Self = Self(0b0000001000000000);
pub(crate) const VARIATION_SELECTOR_15: Self = Self(0b0100000000000000);
pub(crate) const VARIATION_SELECTOR_16: Self = Self(0b1000000000000000);
pub(crate) const JOINING_GROUP_ALEF: Self = Self(0b0011000011111111);
pub(crate) const COMBINING_LONG_SOLIDUS_OVERLAY: Self = Self(0b0011110011111111);
pub(crate) const SOLIDUS_OVERLAY_ALEF: Self = Self(0b0011100011111111);
pub(crate) const HEBREW_LETTER_LAMED: Self = Self(0b0011100000000000);
pub(crate) const ZWJ_HEBREW_LETTER_LAMED: Self = Self(0b0011110000000000);
pub(crate) const BUGINESE_LETTER_YA: Self = Self(0b0011100000000001);
pub(crate) const ZWJ_BUGINESE_LETTER_YA: Self = Self(0b0011110000000001);
pub(crate) const BUGINESE_VOWEL_SIGN_I_ZWJ_LETTER_YA: Self = Self(0b0011110000000010);
pub(crate) const TIFINAGH_CONSONANT: Self = Self(0b0011100000000011);
pub(crate) const ZWJ_TIFINAGH_CONSONANT: Self = Self(0b0011110000000011);
pub(crate) const TIFINAGH_JOINER_CONSONANT: Self = Self(0b0011110000000100);
pub(crate) const LISU_TONE_LETTER_MYA_NA_JEU: Self = Self(0b0011110000000101);
pub(crate) const OLD_TURKIC_LETTER_ORKHON_I: Self = Self(0b0011100000000110);
pub(crate) const ZWJ_OLD_TURKIC_LETTER_ORKHON_I: Self = Self(0b0011110000000110);
pub(crate) const KHMER_COENG_ELIGIBLE_LETTER: Self = Self(0b0011110000000111);
}