Enum swash::text::Block

source ·
#[repr(u16)]
pub enum Block {
Show 309 variants Adlam = 0, AegeanNumbers = 1, Ahom = 2, AlchemicalSymbols = 3, AlphabeticPresentationForms = 4, AnatolianHieroglyphs = 5, AncientGreekMusicalNotation = 6, AncientGreekNumbers = 7, AncientSymbols = 8, Arabic = 9, ArabicExtendedA = 10, ArabicMathematicalAlphabeticSymbols = 11, ArabicPresentationFormsA = 12, ArabicPresentationFormsB = 13, ArabicSupplement = 14, Armenian = 15, Arrows = 16, BasicLatin = 17, Avestan = 18, Balinese = 19, Bamum = 20, BamumSupplement = 21, BassaVah = 22, Batak = 23, Bengali = 24, Bhaiksuki = 25, BlockElements = 26, Bopomofo = 27, BopomofoExtended = 28, BoxDrawing = 29, Brahmi = 30, BraillePatterns = 31, Buginese = 32, Buhid = 33, ByzantineMusicalSymbols = 34, Carian = 35, CaucasianAlbanian = 36, Chakma = 37, Cham = 38, Cherokee = 39, CherokeeSupplement = 40, ChessSymbols = 41, Chorasmian = 42, CJKUnifiedIdeographs = 43, CJKCompatibility = 44, CJKCompatibilityForms = 45, CJKCompatibilityIdeographs = 46, CJKCompatibilityIdeographsSupplement = 47, CJKUnifiedIdeographsExtensionA = 48, CJKUnifiedIdeographsExtensionB = 49, CJKUnifiedIdeographsExtensionC = 50, CJKUnifiedIdeographsExtensionD = 51, CJKUnifiedIdeographsExtensionE = 52, CJKUnifiedIdeographsExtensionF = 53, CJKUnifiedIdeographsExtensionG = 54, CJKRadicalsSupplement = 55, CJKStrokes = 56, HangulCompatibilityJamo = 57, ControlPictures = 58, Coptic = 59, CopticEpactNumbers = 60, CountingRodNumerals = 61, Cuneiform = 62, CurrencySymbols = 63, CypriotSyllabary = 64, Cyrillic = 65, CyrillicExtendedA = 66, CyrillicExtendedB = 67, CyrillicExtendedC = 68, CyrillicSupplement = 69, Deseret = 70, Devanagari = 71, DevanagariExtended = 72, CombiningDiacriticalMarks = 73, CombiningDiacriticalMarksExtended = 74, CombiningDiacriticalMarksSupplement = 75, Dingbats = 76, DivesAkuru = 77, Dogra = 78, DominoTiles = 79, Duployan = 80, EarlyDynasticCuneiform = 81, EgyptianHieroglyphFormatControls = 82, EgyptianHieroglyphs = 83, Elbasan = 84, Elymaic = 85, Emoticons = 86, EnclosedAlphanumerics = 87, EnclosedAlphanumericSupplement = 88, EnclosedIdeographicSupplement = 89, Ethiopic = 90, EthiopicExtended = 91, EthiopicExtendedA = 92, EthiopicSupplement = 93, GeometricShapes = 94, GeometricShapesExtended = 95, Georgian = 96, GeorgianExtended = 97, GeorgianSupplement = 98, Glagolitic = 99, GlagoliticSupplement = 100, Gothic = 101, Grantha = 102, GreekExtended = 103, Gujarati = 104, GunjalaGondi = 105, Gurmukhi = 106, CombiningHalfMarks = 107, HangulSyllables = 108, HanifiRohingya = 109, Hanunoo = 110, Hatran = 111, Hebrew = 112, HighPrivateUseSurrogates = 113, HighSurrogates = 114, Hiragana = 115, IdeographicDescriptionCharacters = 116, ImperialAramaic = 117, CommonIndicNumberForms = 118, IndicSiyaqNumbers = 119, InscriptionalPahlavi = 120, InscriptionalParthian = 121, IPAExtensions = 122, HangulJamo = 123, HangulJamoExtendedA = 124, HangulJamoExtendedB = 125, Javanese = 126, Kaithi = 127, KanaExtendedA = 128, KanaSupplement = 129, Kanbun = 130, KangxiRadicals = 131, Kannada = 132, Katakana = 133, KatakanaPhoneticExtensions = 134, KayahLi = 135, Kharoshthi = 136, KhitanSmallScript = 137, Khmer = 138, KhmerSymbols = 139, Khojki = 140, Khudawadi = 141, Lao = 142, Latin1Supplement = 143, LatinExtendedA = 144, LatinExtendedAdditional = 145, LatinExtendedB = 146, LatinExtendedC = 147, LatinExtendedD = 148, LatinExtendedE = 149, Lepcha = 150, LetterlikeSymbols = 151, Limbu = 152, LinearA = 153, LinearBIdeograms = 154, LinearBSyllabary = 155, Lisu = 156, LisuSupplement = 157, LowSurrogates = 158, Lycian = 159, Lydian = 160, Mahajani = 161, MahjongTiles = 162, Makasar = 163, Malayalam = 164, Mandaic = 165, Manichaean = 166, Marchen = 167, MasaramGondi = 168, MathematicalAlphanumericSymbols = 169, MathematicalOperators = 170, MayanNumerals = 171, Medefaidrin = 172, MeeteiMayek = 173, MeeteiMayekExtensions = 174, MendeKikakui = 175, MeroiticCursive = 176, MeroiticHieroglyphs = 177, Miao = 178, MiscellaneousMathematicalSymbolsA = 179, MiscellaneousMathematicalSymbolsB = 180, MiscellaneousSymbols = 181, MiscellaneousTechnical = 182, Modi = 183, SpacingModifierLetters = 184, ModifierToneLetters = 185, Mongolian = 186, MongolianSupplement = 187, Mro = 188, Multani = 189, MusicalSymbols = 190, Myanmar = 191, MyanmarExtendedA = 192, MyanmarExtendedB = 193, Nabataean = 194, Nandinagari = 195, NoBlock = 196, NewTaiLue = 197, Newa = 198, NKo = 199, NumberForms = 200, Nushu = 201, NyiakengPuachueHmong = 202, OpticalCharacterRecognition = 203, Ogham = 204, OlChiki = 205, OldHungarian = 206, OldItalic = 207, OldNorthArabian = 208, OldPermic = 209, OldPersian = 210, OldSogdian = 211, OldSouthArabian = 212, OldTurkic = 213, Oriya = 214, OrnamentalDingbats = 215, Osage = 216, Osmanya = 217, OttomanSiyaqNumbers = 218, PahawhHmong = 219, Palmyrene = 220, PauCinHau = 221, PhaistosDisc = 222, Phoenician = 223, PhoneticExtensions = 224, PhoneticExtensionsSupplement = 225, PlayingCards = 226, PsalterPahlavi = 227, PrivateUseArea = 228, GeneralPunctuation = 229, Rejang = 230, RumiNumeralSymbols = 231, Runic = 232, Samaritan = 233, Saurashtra = 234, Sharada = 235, Shavian = 236, ShorthandFormatControls = 237, Siddham = 238, Sinhala = 239, SinhalaArchaicNumbers = 240, SmallFormVariants = 241, SmallKanaExtension = 242, Sogdian = 243, SoraSompeng = 244, Soyombo = 245, Specials = 246, Sundanese = 247, SundaneseSupplement = 248, SupplementalArrowsA = 249, SupplementalArrowsB = 250, SupplementalArrowsC = 251, SupplementalMathematicalOperators = 252, SupplementaryPrivateUseAreaA = 253, SupplementaryPrivateUseAreaB = 254, SupplementalPunctuation = 255, SuttonSignWriting = 256, SylotiNagri = 257, Syriac = 258, SyriacSupplement = 259, Tagalog = 260, Tagbanwa = 261, Tags = 262, TaiLe = 263, TaiTham = 264, TaiViet = 265, TaiXuanJingSymbols = 266, Takri = 267, Tamil = 268, TamilSupplement = 269, Tangut = 270, TangutComponents = 271, TangutSupplement = 272, Telugu = 273, Thaana = 274, Thai = 275, Tibetan = 276, Tifinagh = 277, Tirhuta = 278, UnifiedCanadianAboriginalSyllabics = 279, UnifiedCanadianAboriginalSyllabicsExtended = 280, Ugaritic = 281, Vai = 282, VedicExtensions = 283, VerticalForms = 284, VariationSelectors = 285, VariationSelectorsSupplement = 286, Wancho = 287, WarangCiti = 288, Yezidi = 289, YiRadicals = 290, YiSyllables = 291, YijingHexagramSymbols = 292, ZanabazarSquare = 293, GreekandCoptic = 294, SuperscriptsandSubscripts = 295, CombiningDiacriticalMarksforSymbols = 296, MiscellaneousSymbolsandArrows = 297, CJKSymbolsandPunctuation = 298, EnclosedCJKLettersandMonths = 299, Phagspa = 300, HalfwidthandFullwidthForms = 301, CuneiformNumbersandPunctuation = 302, IdeographicSymbolsandPunctuation = 303, MiscellaneousSymbolsandPictographs = 304, TransportandMapSymbols = 305, SupplementalSymbolsandPictographs = 306, SymbolsandPictographsExtendedA = 307, SymbolsforLegacyComputing = 308,
}
Expand description

Unicode block property.

Variants§

§

Adlam = 0

§

AegeanNumbers = 1

§

Ahom = 2

§

AlchemicalSymbols = 3

§

AlphabeticPresentationForms = 4

§

AnatolianHieroglyphs = 5

§

AncientGreekMusicalNotation = 6

§

AncientGreekNumbers = 7

§

AncientSymbols = 8

§

Arabic = 9

§

ArabicExtendedA = 10

§

ArabicMathematicalAlphabeticSymbols = 11

§

ArabicPresentationFormsA = 12

§

ArabicPresentationFormsB = 13

§

ArabicSupplement = 14

§

Armenian = 15

§

Arrows = 16

§

BasicLatin = 17

§

Avestan = 18

§

Balinese = 19

§

Bamum = 20

§

BamumSupplement = 21

§

BassaVah = 22

§

Batak = 23

§

Bengali = 24

§

Bhaiksuki = 25

§

BlockElements = 26

§

Bopomofo = 27

§

BopomofoExtended = 28

§

BoxDrawing = 29

§

Brahmi = 30

§

BraillePatterns = 31

§

Buginese = 32

§

Buhid = 33

§

ByzantineMusicalSymbols = 34

§

Carian = 35

§

CaucasianAlbanian = 36

§

Chakma = 37

§

Cham = 38

§

Cherokee = 39

§

CherokeeSupplement = 40

§

ChessSymbols = 41

§

Chorasmian = 42

§

CJKUnifiedIdeographs = 43

§

CJKCompatibility = 44

§

CJKCompatibilityForms = 45

§

CJKCompatibilityIdeographs = 46

§

CJKCompatibilityIdeographsSupplement = 47

§

CJKUnifiedIdeographsExtensionA = 48

§

CJKUnifiedIdeographsExtensionB = 49

§

CJKUnifiedIdeographsExtensionC = 50

§

CJKUnifiedIdeographsExtensionD = 51

§

CJKUnifiedIdeographsExtensionE = 52

§

CJKUnifiedIdeographsExtensionF = 53

§

CJKUnifiedIdeographsExtensionG = 54

§

CJKRadicalsSupplement = 55

§

CJKStrokes = 56

§

HangulCompatibilityJamo = 57

§

ControlPictures = 58

§

Coptic = 59

§

CopticEpactNumbers = 60

§

CountingRodNumerals = 61

§

Cuneiform = 62

§

CurrencySymbols = 63

§

CypriotSyllabary = 64

§

Cyrillic = 65

§

CyrillicExtendedA = 66

§

CyrillicExtendedB = 67

§

CyrillicExtendedC = 68

§

CyrillicSupplement = 69

§

Deseret = 70

§

Devanagari = 71

§

DevanagariExtended = 72

§

CombiningDiacriticalMarks = 73

§

CombiningDiacriticalMarksExtended = 74

§

CombiningDiacriticalMarksSupplement = 75

§

Dingbats = 76

§

DivesAkuru = 77

§

Dogra = 78

§

DominoTiles = 79

§

Duployan = 80

§

EarlyDynasticCuneiform = 81

§

EgyptianHieroglyphFormatControls = 82

§

EgyptianHieroglyphs = 83

§

Elbasan = 84

§

Elymaic = 85

§

Emoticons = 86

§

EnclosedAlphanumerics = 87

§

EnclosedAlphanumericSupplement = 88

§

EnclosedIdeographicSupplement = 89

§

Ethiopic = 90

§

EthiopicExtended = 91

§

EthiopicExtendedA = 92

§

EthiopicSupplement = 93

§

GeometricShapes = 94

§

GeometricShapesExtended = 95

§

Georgian = 96

§

GeorgianExtended = 97

§

GeorgianSupplement = 98

§

Glagolitic = 99

§

GlagoliticSupplement = 100

§

Gothic = 101

§

Grantha = 102

§

GreekExtended = 103

§

Gujarati = 104

§

GunjalaGondi = 105

§

Gurmukhi = 106

§

CombiningHalfMarks = 107

§

HangulSyllables = 108

§

HanifiRohingya = 109

§

Hanunoo = 110

§

Hatran = 111

§

Hebrew = 112

§

HighPrivateUseSurrogates = 113

§

HighSurrogates = 114

§

Hiragana = 115

§

IdeographicDescriptionCharacters = 116

§

ImperialAramaic = 117

§

CommonIndicNumberForms = 118

§

IndicSiyaqNumbers = 119

§

InscriptionalPahlavi = 120

§

InscriptionalParthian = 121

§

IPAExtensions = 122

§

HangulJamo = 123

§

HangulJamoExtendedA = 124

§

HangulJamoExtendedB = 125

§

Javanese = 126

§

Kaithi = 127

§

KanaExtendedA = 128

§

KanaSupplement = 129

§

Kanbun = 130

§

KangxiRadicals = 131

§

Kannada = 132

§

Katakana = 133

§

KatakanaPhoneticExtensions = 134

§

KayahLi = 135

§

Kharoshthi = 136

§

KhitanSmallScript = 137

§

Khmer = 138

§

KhmerSymbols = 139

§

Khojki = 140

§

Khudawadi = 141

§

Lao = 142

§

Latin1Supplement = 143

§

LatinExtendedA = 144

§

LatinExtendedAdditional = 145

§

LatinExtendedB = 146

§

LatinExtendedC = 147

§

LatinExtendedD = 148

§

LatinExtendedE = 149

§

Lepcha = 150

§

LetterlikeSymbols = 151

§

Limbu = 152

§

LinearA = 153

§

LinearBIdeograms = 154

§

LinearBSyllabary = 155

§

Lisu = 156

§

LisuSupplement = 157

§

LowSurrogates = 158

§

Lycian = 159

§

Lydian = 160

§

Mahajani = 161

§

MahjongTiles = 162

§

Makasar = 163

§

Malayalam = 164

§

Mandaic = 165

§

Manichaean = 166

§

Marchen = 167

§

MasaramGondi = 168

§

MathematicalAlphanumericSymbols = 169

§

MathematicalOperators = 170

§

MayanNumerals = 171

§

Medefaidrin = 172

§

MeeteiMayek = 173

§

MeeteiMayekExtensions = 174

§

MendeKikakui = 175

§

MeroiticCursive = 176

§

MeroiticHieroglyphs = 177

§

Miao = 178

§

MiscellaneousMathematicalSymbolsA = 179

§

MiscellaneousMathematicalSymbolsB = 180

§

MiscellaneousSymbols = 181

§

MiscellaneousTechnical = 182

§

Modi = 183

§

SpacingModifierLetters = 184

§

ModifierToneLetters = 185

§

Mongolian = 186

§

MongolianSupplement = 187

§

Mro = 188

§

Multani = 189

§

MusicalSymbols = 190

§

Myanmar = 191

§

MyanmarExtendedA = 192

§

MyanmarExtendedB = 193

§

Nabataean = 194

§

Nandinagari = 195

§

NoBlock = 196

§

NewTaiLue = 197

§

Newa = 198

§

NKo = 199

§

NumberForms = 200

§

Nushu = 201

§

NyiakengPuachueHmong = 202

§

OpticalCharacterRecognition = 203

§

Ogham = 204

§

OlChiki = 205

§

OldHungarian = 206

§

OldItalic = 207

§

OldNorthArabian = 208

§

OldPermic = 209

§

OldPersian = 210

§

OldSogdian = 211

§

OldSouthArabian = 212

§

OldTurkic = 213

§

Oriya = 214

§

OrnamentalDingbats = 215

§

Osage = 216

§

Osmanya = 217

§

OttomanSiyaqNumbers = 218

§

PahawhHmong = 219

§

Palmyrene = 220

§

PauCinHau = 221

§

PhaistosDisc = 222

§

Phoenician = 223

§

PhoneticExtensions = 224

§

PhoneticExtensionsSupplement = 225

§

PlayingCards = 226

§

PsalterPahlavi = 227

§

PrivateUseArea = 228

§

GeneralPunctuation = 229

§

Rejang = 230

§

RumiNumeralSymbols = 231

§

Runic = 232

§

Samaritan = 233

§

Saurashtra = 234

§

Sharada = 235

§

Shavian = 236

§

ShorthandFormatControls = 237

§

Siddham = 238

§

Sinhala = 239

§

SinhalaArchaicNumbers = 240

§

SmallFormVariants = 241

§

SmallKanaExtension = 242

§

Sogdian = 243

§

SoraSompeng = 244

§

Soyombo = 245

§

Specials = 246

§

Sundanese = 247

§

SundaneseSupplement = 248

§

SupplementalArrowsA = 249

§

SupplementalArrowsB = 250

§

SupplementalArrowsC = 251

§

SupplementalMathematicalOperators = 252

§

SupplementaryPrivateUseAreaA = 253

§

SupplementaryPrivateUseAreaB = 254

§

SupplementalPunctuation = 255

§

SuttonSignWriting = 256

§

SylotiNagri = 257

§

Syriac = 258

§

SyriacSupplement = 259

§

Tagalog = 260

§

Tagbanwa = 261

§

Tags = 262

§

TaiLe = 263

§

TaiTham = 264

§

TaiViet = 265

§

TaiXuanJingSymbols = 266

§

Takri = 267

§

Tamil = 268

§

TamilSupplement = 269

§

Tangut = 270

§

TangutComponents = 271

§

TangutSupplement = 272

§

Telugu = 273

§

Thaana = 274

§

Thai = 275

§

Tibetan = 276

§

Tifinagh = 277

§

Tirhuta = 278

§

UnifiedCanadianAboriginalSyllabics = 279

§

UnifiedCanadianAboriginalSyllabicsExtended = 280

§

Ugaritic = 281

§

Vai = 282

§

VedicExtensions = 283

§

VerticalForms = 284

§

VariationSelectors = 285

§

VariationSelectorsSupplement = 286

§

Wancho = 287

§

WarangCiti = 288

§

Yezidi = 289

§

YiRadicals = 290

§

YiSyllables = 291

§

YijingHexagramSymbols = 292

§

ZanabazarSquare = 293

§

GreekandCoptic = 294

§

SuperscriptsandSubscripts = 295

§

CombiningDiacriticalMarksforSymbols = 296

§

MiscellaneousSymbolsandArrows = 297

§

CJKSymbolsandPunctuation = 298

§

EnclosedCJKLettersandMonths = 299

§

Phagspa = 300

§

HalfwidthandFullwidthForms = 301

§

CuneiformNumbersandPunctuation = 302

§

IdeographicSymbolsandPunctuation = 303

§

MiscellaneousSymbolsandPictographs = 304

§

TransportandMapSymbols = 305

§

SupplementalSymbolsandPictographs = 306

§

SymbolsandPictographsExtendedA = 307

§

SymbolsforLegacyComputing = 308

Trait Implementations§

source§

impl Clone for Block

source§

fn clone(&self) -> Block

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Block

source§

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

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

impl Hash for Block

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl Ord for Block

source§

fn cmp(&self, other: &Block) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Self
where Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Self
where Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Self
where Self: Sized + PartialOrd,

Restrict a value to a certain interval. Read more
source§

impl PartialEq for Block

source§

fn eq(&self, other: &Block) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd for Block

source§

fn partial_cmp(&self, other: &Block) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
source§

impl Copy for Block

source§

impl Eq for Block

source§

impl StructuralPartialEq for Block

Auto Trait Implementations§

§

impl Freeze for Block

§

impl RefUnwindSafe for Block

§

impl Send for Block

§

impl Sync for Block

§

impl Unpin for Block

§

impl UnwindSafe for Block

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> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
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.