pub enum UnicodeBlockId {
Show 277 variants BasicLatin, Latin1Supplement, LatinExtendedA, LatinExtendedB, IPAExtensions, SpacingModifierLetters, CombiningDiacriticalMarks, GreekandCoptic, Cyrillic, CyrillicSupplement, Armenian, Hebrew, Arabic, Syriac, ArabicSupplement, Thaana, NKo, Samaritan, Mandaic, SyriacSupplement, ArabicExtendedA, Devanagari, Bengali, Gurmukhi, Gujarati, Oriya, Tamil, Telugu, Kannada, Malayalam, Sinhala, Thai, Lao, Tibetan, Myanmar, Georgian, HangulJamo, Ethiopic, EthiopicSupplement, Cherokee, UnifiedCanadianAboriginalSyllabics, Ogham, Runic, Tagalog, Hanunoo, Buhid, Tagbanwa, Khmer, Mongolian, UnifiedCanadianAboriginalSyllabicsExtended, Limbu, TaiLe, NewTaiLue, KhmerSymbols, Buginese, TaiTham, CombiningDiacriticalMarksExtended, Balinese, Sundanese, Batak, Lepcha, OlChiki, CyrillicExtendedC, SundaneseSupplement, VedicExtensions, PhoneticExtensions, PhoneticExtensionsSupplement, CombiningDiacriticalMarksSupplement, LatinExtendedAdditional, GreekExtended, GeneralPunctuation, SuperscriptsandSubscripts, CurrencySymbols, CombiningDiacriticalMarksforSymbols, LetterlikeSymbols, NumberForms, Arrows, MathematicalOperators, MiscellaneousTechnical, ControlPictures, OpticalCharacterRecognition, EnclosedAlphanumerics, BoxDrawing, BlockElements, GeometricShapes, MiscellaneousSymbols, Dingbats, MiscellaneousMathematicalSymbolsA, SupplementalArrowsA, BraillePatterns, SupplementalArrowsB, MiscellaneousMathematicalSymbolsB, SupplementalMathematicalOperators, MiscellaneousSymbolsandArrows, Glagolitic, LatinExtendedC, Coptic, GeorgianSupplement, Tifinagh, EthiopicExtended, CyrillicExtendedA, SupplementalPunctuation, CJKRadicalsSupplement, KangxiRadicals, IdeographicDescriptionCharacters, CJKSymbolsandPunctuation, Hiragana, Katakana, Bopomofo, HangulCompatibilityJamo, Kanbun, BopomofoExtended, CJKStrokes, KatakanaPhoneticExtensions, EnclosedCJKLettersandMonths, CJKCompatibility, CJKUnifiedIdeographsExtensionA, YijingHexagramSymbols, CJKUnifiedIdeographs, YiSyllables, YiRadicals, Lisu, Vai, CyrillicExtendedB, Bamum, ModifierToneLetters, LatinExtendedD, SylotiNagri, CommonIndicNumberForms, Phagspa, Saurashtra, DevanagariExtended, KayahLi, Rejang, HangulJamoExtendedA, Javanese, MyanmarExtendedB, Cham, MyanmarExtendedA, TaiViet, MeeteiMayekExtensions, EthiopicExtendedA, LatinExtendedE, CherokeeSupplement, MeeteiMayek, HangulSyllables, HangulJamoExtendedB, PrivateUseArea, CJKCompatibilityIdeographs, AlphabeticPresentationForms, ArabicPresentationFormsA, VariationSelectors, VerticalForms, CombiningHalfMarks, CJKCompatibilityForms, SmallFormVariants, ArabicPresentationFormsB, HalfwidthandFullwidthForms, Specials, LinearBSyllabary, LinearBIdeograms, AegeanNumbers, AncientGreekNumbers, AncientSymbols, PhaistosDisc, Lycian, Carian, CopticEpactNumbers, OldItalic, Gothic, OldPermic, Ugaritic, OldPersian, Deseret, Shavian, Osmanya, Osage, Elbasan, CaucasianAlbanian, LinearA, CypriotSyllabary, ImperialAramaic, Palmyrene, Nabataean, Hatran, Phoenician, Lydian, MeroiticHieroglyphs, MeroiticCursive, Kharoshthi, OldSouthArabian, OldNorthArabian, Manichaean, Avestan, InscriptionalParthian, InscriptionalPahlavi, PsalterPahlavi, OldTurkic, OldHungarian, RumiNumeralSymbols, Brahmi, Kaithi, SoraSompeng, Chakma, Mahajani, Sharada, SinhalaArchaicNumbers, Khojki, Multani, Khudawadi, Grantha, Newa, Tirhuta, Siddham, Modi, MongolianSupplement, Takri, Ahom, WarangCiti, ZanabazarSquare, Soyombo, PauCinHau, Bhaiksuki, Marchen, MasaramGondi, Cuneiform, CuneiformNumbersandPunctuation, EarlyDynasticCuneiform, EgyptianHieroglyphs, AnatolianHieroglyphs, BamumSupplement, Mro, BassaVah, PahawhHmong, Miao, IdeographicSymbolsandPunctuation, Tangut, TangutComponents, KanaSupplement, KanaExtendedA, Nushu, Duployan, ShorthandFormatControls, ByzantineMusicalSymbols, MusicalSymbols, AncientGreekMusicalNotation, TaiXuanJingSymbols, CountingRodNumerals, MathematicalAlphanumericSymbols, SuttonSignWriting, GlagoliticSupplement, MendeKikakui, Adlam, ArabicMathematicalAlphabeticSymbols, MahjongTiles, DominoTiles, PlayingCards, EnclosedAlphanumericSupplement, EnclosedIdeographicSupplement, MiscellaneousSymbolsandPictographs, Emoticons, OrnamentalDingbats, TransportandMapSymbols, AlchemicalSymbols, GeometricShapesExtended, SupplementalArrowsC, SupplementalSymbolsandPictographs, CJKUnifiedIdeographsExtensionB, CJKUnifiedIdeographsExtensionC, CJKUnifiedIdeographsExtensionD, CJKUnifiedIdeographsExtensionE, CJKUnifiedIdeographsExtensionF, CJKCompatibilityIdeographsSupplement, Tags, VariationSelectorsSupplement, SupplementaryPrivateUseAreaA, SupplementaryPrivateUseAreaB,
}
Expand description

Compile-time identifiers for a Unicode Block.

Use .block() to get a reference to the actual Block instance.

Variants§

§

BasicLatin

§

Latin1Supplement

§

LatinExtendedA

§

LatinExtendedB

§

IPAExtensions

§

SpacingModifierLetters

§

CombiningDiacriticalMarks

§

GreekandCoptic

§

Cyrillic

§

CyrillicSupplement

§

Armenian

§

Hebrew

§

Arabic

§

Syriac

§

ArabicSupplement

§

Thaana

§

NKo

§

Samaritan

§

Mandaic

§

SyriacSupplement

§

ArabicExtendedA

§

Devanagari

§

Bengali

§

Gurmukhi

§

Gujarati

§

Oriya

§

Tamil

§

Telugu

§

Kannada

§

Malayalam

§

Sinhala

§

Thai

§

Lao

§

Tibetan

§

Myanmar

§

Georgian

§

HangulJamo

§

Ethiopic

§

EthiopicSupplement

§

Cherokee

§

UnifiedCanadianAboriginalSyllabics

§

Ogham

§

Runic

§

Tagalog

§

Hanunoo

§

Buhid

§

Tagbanwa

§

Khmer

§

Mongolian

§

UnifiedCanadianAboriginalSyllabicsExtended

§

Limbu

§

TaiLe

§

NewTaiLue

§

KhmerSymbols

§

Buginese

§

TaiTham

§

CombiningDiacriticalMarksExtended

§

Balinese

§

Sundanese

§

Batak

§

Lepcha

§

OlChiki

§

CyrillicExtendedC

§

SundaneseSupplement

§

VedicExtensions

§

PhoneticExtensions

§

PhoneticExtensionsSupplement

§

CombiningDiacriticalMarksSupplement

§

LatinExtendedAdditional

§

GreekExtended

§

GeneralPunctuation

§

SuperscriptsandSubscripts

§

CurrencySymbols

§

CombiningDiacriticalMarksforSymbols

§

LetterlikeSymbols

§

NumberForms

§

Arrows

§

MathematicalOperators

§

MiscellaneousTechnical

§

ControlPictures

§

OpticalCharacterRecognition

§

EnclosedAlphanumerics

§

BoxDrawing

§

BlockElements

§

GeometricShapes

§

MiscellaneousSymbols

§

Dingbats

§

MiscellaneousMathematicalSymbolsA

§

SupplementalArrowsA

§

BraillePatterns

§

SupplementalArrowsB

§

MiscellaneousMathematicalSymbolsB

§

SupplementalMathematicalOperators

§

MiscellaneousSymbolsandArrows

§

Glagolitic

§

LatinExtendedC

§

Coptic

§

GeorgianSupplement

§

Tifinagh

§

EthiopicExtended

§

CyrillicExtendedA

§

SupplementalPunctuation

§

CJKRadicalsSupplement

§

KangxiRadicals

§

IdeographicDescriptionCharacters

§

CJKSymbolsandPunctuation

§

Hiragana

§

Katakana

§

Bopomofo

§

HangulCompatibilityJamo

§

Kanbun

§

BopomofoExtended

§

CJKStrokes

§

KatakanaPhoneticExtensions

§

EnclosedCJKLettersandMonths

§

CJKCompatibility

§

CJKUnifiedIdeographsExtensionA

§

YijingHexagramSymbols

§

CJKUnifiedIdeographs

§

YiSyllables

§

YiRadicals

§

Lisu

§

Vai

§

CyrillicExtendedB

§

Bamum

§

ModifierToneLetters

§

LatinExtendedD

§

SylotiNagri

§

CommonIndicNumberForms

§

Phagspa

§

Saurashtra

§

DevanagariExtended

§

KayahLi

§

Rejang

§

HangulJamoExtendedA

§

Javanese

§

MyanmarExtendedB

§

Cham

§

MyanmarExtendedA

§

TaiViet

§

MeeteiMayekExtensions

§

EthiopicExtendedA

§

LatinExtendedE

§

CherokeeSupplement

§

MeeteiMayek

§

HangulSyllables

§

HangulJamoExtendedB

§

PrivateUseArea

§

CJKCompatibilityIdeographs

§

AlphabeticPresentationForms

§

ArabicPresentationFormsA

§

VariationSelectors

§

VerticalForms

§

CombiningHalfMarks

§

CJKCompatibilityForms

§

SmallFormVariants

§

ArabicPresentationFormsB

§

HalfwidthandFullwidthForms

§

Specials

§

LinearBSyllabary

§

LinearBIdeograms

§

AegeanNumbers

§

AncientGreekNumbers

§

AncientSymbols

§

PhaistosDisc

§

Lycian

§

Carian

§

CopticEpactNumbers

§

OldItalic

§

Gothic

§

OldPermic

§

Ugaritic

§

OldPersian

§

Deseret

§

Shavian

§

Osmanya

§

Osage

§

Elbasan

§

CaucasianAlbanian

§

LinearA

§

CypriotSyllabary

§

ImperialAramaic

§

Palmyrene

§

Nabataean

§

Hatran

§

Phoenician

§

Lydian

§

MeroiticHieroglyphs

§

MeroiticCursive

§

Kharoshthi

§

OldSouthArabian

§

OldNorthArabian

§

Manichaean

§

Avestan

§

InscriptionalParthian

§

InscriptionalPahlavi

§

PsalterPahlavi

§

OldTurkic

§

OldHungarian

§

RumiNumeralSymbols

§

Brahmi

§

Kaithi

§

SoraSompeng

§

Chakma

§

Mahajani

§

Sharada

§

SinhalaArchaicNumbers

§

Khojki

§

Multani

§

Khudawadi

§

Grantha

§

Newa

§

Tirhuta

§

Siddham

§

Modi

§

MongolianSupplement

§

Takri

§

Ahom

§

WarangCiti

§

ZanabazarSquare

§

Soyombo

§

PauCinHau

§

Bhaiksuki

§

Marchen

§

MasaramGondi

§

Cuneiform

§

CuneiformNumbersandPunctuation

§

EarlyDynasticCuneiform

§

EgyptianHieroglyphs

§

AnatolianHieroglyphs

§

BamumSupplement

§

Mro

§

BassaVah

§

PahawhHmong

§

Miao

§

IdeographicSymbolsandPunctuation

§

Tangut

§

TangutComponents

§

KanaSupplement

§

KanaExtendedA

§

Nushu

§

Duployan

§

ShorthandFormatControls

§

ByzantineMusicalSymbols

§

MusicalSymbols

§

AncientGreekMusicalNotation

§

TaiXuanJingSymbols

§

CountingRodNumerals

§

MathematicalAlphanumericSymbols

§

SuttonSignWriting

§

GlagoliticSupplement

§

MendeKikakui

§

Adlam

§

ArabicMathematicalAlphabeticSymbols

§

MahjongTiles

§

DominoTiles

§

PlayingCards

§

EnclosedAlphanumericSupplement

§

EnclosedIdeographicSupplement

§

MiscellaneousSymbolsandPictographs

§

Emoticons

§

OrnamentalDingbats

§

TransportandMapSymbols

§

AlchemicalSymbols

§

GeometricShapesExtended

§

SupplementalArrowsC

§

SupplementalSymbolsandPictographs

§

CJKUnifiedIdeographsExtensionB

§

CJKUnifiedIdeographsExtensionC

§

CJKUnifiedIdeographsExtensionD

§

CJKUnifiedIdeographsExtensionE

§

CJKUnifiedIdeographsExtensionF

§

CJKCompatibilityIdeographsSupplement

§

Tags

§

VariationSelectorsSupplement

§

SupplementaryPrivateUseAreaA

§

SupplementaryPrivateUseAreaB

Implementations§

source§

impl UnicodeBlockId

source

pub fn name(&self) -> &str

Get the block’s name.

source

pub fn char_range(&self) -> CharRange

Get the block’s CharRange.

source

pub fn block(&self) -> &'static Block

Get a reference to the Block that this ID represents.

Trait Implementations§

source§

impl Debug for UnicodeBlockId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl From<&UnicodeBlockId> for CharRange

source§

fn from(source: &UnicodeBlockId) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.