Browse the docs

silk.text.unicode_properties.

Import as GeneralCategory with import silk.text.unicode_properties { GeneralCategory }.

Public declarations: 13.

GeneralCategory#

silk
pub enum GeneralCategory

The Unicode General_Category property: the general category of a character, such as an uppercase letter or a nonspacing mark.

Details#

GeneralCategory.of reads the value of one code point. A code point with no explicit value, or a value past U+10FFFF, gets the Unicode default, Cn.

Cc#

silk
Cc

Control (also cntrl).

Cf#

silk
Cf

Format.

Cn#

silk
Cn

Unassigned.

Co#

silk
Co

Private Use.

Cs#

silk
Cs

Surrogate.

Ll#

silk
Ll

Lowercase Letter.

Lm#

silk
Lm

Modifier Letter.

Lo#

silk
Lo

Other Letter.

Lt#

silk
Lt

Titlecase Letter.

Lu#

silk
Lu

Uppercase Letter.

Mc#

silk
Mc

Spacing Mark.

Me#

silk
Me

Enclosing Mark.

Mn#

silk
Mn

Nonspacing Mark.

Nd#

silk
Nd

Decimal Number (also digit).

Nl#

silk
Nl

Letter Number.

No#

silk
No

Other Number.

Pc#

silk
Pc

Connector Punctuation.

Pd#

silk
Pd

Dash Punctuation.

Pe#

silk
Pe

Close Punctuation.

Pf#

silk
Pf

Final Punctuation.

Pi#

silk
Pi

Initial Punctuation.

Po#

silk
Po

Other Punctuation.

Ps#

silk
Ps

Open Punctuation.

Sc#

silk
Sc

Currency Symbol.

Sk#

silk
Sk

Modifier Symbol.

Sm#

silk
Sm

Math Symbol.

So#

silk
So

Other Symbol.

Zl#

silk
Zl

Line Separator.

Zp#

silk
Zp

Paragraph Separator.

Zs#

silk
Zs

Space Separator.

Implementation GeneralCategory#

silk
impl GeneralCategory

Associated function of#

silk
pub fn of(cp: u32) -> GeneralCategory

Returns the General_Category of the code point cp. A value past U+10FFFF gets Cn.

Associated function fromTableValue#

silk
pub fn fromTableValue(value: u32) -> GeneralCategory

Returns the value for the packed number value from unicode_data.generalCategory. An unknown number gives Cn.

CanonicalCombiningClass#

silk
pub enum CanonicalCombiningClass

The Unicode Canonical_Combining_Class property: the canonical combining class of a character, which orders combining marks during normalization.

Details#

CanonicalCombiningClass.of reads the value of one code point. A code point with no explicit value, or a value past U+10FFFF, gets the Unicode default, Not_Reordered.

Not_Reordered#

silk
Not_Reordered

Not Reordered (also NR).

Overlay#

silk
Overlay

Overlay (also OV).

Han_Reading#

silk
Han_Reading

Han Reading (also HANR).

Nukta#

silk
Nukta

Nukta (also NK).

Kana_Voicing#

silk
Kana_Voicing

Kana Voicing (also KV).

Virama#

silk
Virama

Virama (also VR).

CCC10#

silk
CCC10

CCC10.

CCC11#

silk
CCC11

CCC11.

CCC12#

silk
CCC12

CCC12.

CCC13#

silk
CCC13

CCC13.

CCC14#

silk
CCC14

CCC14.

CCC15#

silk
CCC15

CCC15.

CCC16#

silk
CCC16

CCC16.

CCC17#

silk
CCC17

CCC17.

CCC18#

silk
CCC18

CCC18.

CCC19#

silk
CCC19

CCC19.

CCC20#

silk
CCC20

CCC20.

CCC21#

silk
CCC21

CCC21.

CCC22#

silk
CCC22

CCC22.

CCC23#

silk
CCC23

CCC23.

CCC24#

silk
CCC24

CCC24.

CCC25#

silk
CCC25

CCC25.

CCC26#

silk
CCC26

CCC26.

CCC27#

silk
CCC27

CCC27.

CCC28#

silk
CCC28

CCC28.

CCC29#

silk
CCC29

CCC29.

CCC30#

silk
CCC30

CCC30.

CCC31#

silk
CCC31

CCC31.

CCC32#

silk
CCC32

CCC32.

CCC33#

silk
CCC33

CCC33.

CCC34#

silk
CCC34

CCC34.

CCC35#

silk
CCC35

CCC35.

CCC36#

silk
CCC36

CCC36.

CCC84#

silk
CCC84

CCC84.

CCC91#

silk
CCC91

CCC91.

CCC103#

silk
CCC103

CCC103.

CCC107#

silk
CCC107

CCC107.

CCC118#

silk
CCC118

CCC118.

CCC122#

silk
CCC122

CCC122.

CCC129#

silk
CCC129

CCC129.

CCC130#

silk
CCC130

CCC130.

CCC132#

silk
CCC132

CCC132.

CCC133#

silk
CCC133

CCC133.

Attached_Below_Left#

silk
Attached_Below_Left

Attached Below Left (also ATBL).

Attached_Below#

silk
Attached_Below

Attached Below (also ATB).

Attached_Above#

silk
Attached_Above

Attached Above (also ATA).

Attached_Above_Right#

silk
Attached_Above_Right

Attached Above Right (also ATAR).

Below_Left#

silk
Below_Left

Below Left (also BL).

Below#

silk
Below

Below (also B).

Below_Right#

silk
Below_Right

Below Right (also BR).

Left#

silk
Left

Left (also L).

silk
Right

Right (also R).

Above_Left#

silk
Above_Left

Above Left (also AL).

Above#

silk
Above

Above (also A).

Above_Right#

silk
Above_Right

Above Right (also AR).

Double_Below#

silk
Double_Below

Double Below (also DB).

Double_Above#

silk
Double_Above

Double Above (also DA).

Iota_Subscript#

silk
Iota_Subscript

Iota Subscript (also IS).

Implementation CanonicalCombiningClass#

silk
impl CanonicalCombiningClass

Associated function of#

silk
pub fn of(cp: u32) -> CanonicalCombiningClass

Returns the Canonical_Combining_Class of the code point cp. A value past U+10FFFF gets Not_Reordered.

Associated function fromTableValue#

silk
pub fn fromTableValue(value: u32) -> CanonicalCombiningClass

Returns the value for the packed number value from unicode_data.combiningClass. An unknown number gives Not_Reordered.

Method number#

silk
pub fn number(self: Self) -> u8

Returns the numeric combining class, from 0 to 254. Canonical ordering sorts marks by it.

BidiClass#

silk
pub enum BidiClass

The Unicode Bidi_Class property: the bidirectional class of a character, which the Unicode Bidirectional Algorithm (UAX #9) reads.

Details#

BidiClass.of reads the value of one code point. A code point with no explicit value, or a value past U+10FFFF, gets the Unicode default, L.

AL#

silk
AL

Arabic Letter.

AN#

silk
AN

Arabic Number.

B#

silk
B

Paragraph Separator.

BN#

silk
BN

Boundary Neutral.

CS#

silk
CS

Common Separator.

EN#

silk
EN

European Number.

ES#

silk
ES

European Separator.

ET#

silk
ET

European Terminator.

FSI#

silk
FSI

First Strong Isolate.

L#

silk
L

Left To Right.

LRE#

silk
LRE

Left To Right Embedding.

LRI#

silk
LRI

Left To Right Isolate.

LRO#

silk
LRO

Left To Right Override.

NSM#

silk
NSM

Nonspacing Mark.

ON#

silk
ON

Other Neutral.

PDF#

silk
PDF

Pop Directional Format.

PDI#

silk
PDI

Pop Directional Isolate.

R#

silk
R

Right To Left.

RLE#

silk
RLE

Right To Left Embedding.

RLI#

silk
RLI

Right To Left Isolate.

RLO#

silk
RLO

Right To Left Override.

S#

silk
S

Segment Separator.

WS#

silk
WS

White Space.

Implementation BidiClass#

silk
impl BidiClass

Associated function of#

silk
pub fn of(cp: u32) -> BidiClass

Returns the Bidi_Class of the code point cp. A value past U+10FFFF gets L.

Associated function fromTableValue#

silk
pub fn fromTableValue(value: u32) -> BidiClass

Returns the value for the packed number value from unicode_data.bidiClass. An unknown number gives L.

JoiningType#

silk
pub enum JoiningType

The Unicode Joining_Type property: how a character joins its neighbors in cursive scripts such as Arabic and Syriac.

Details#

JoiningType.of reads the value of one code point. A code point with no explicit value, or a value past U+10FFFF, gets the Unicode default, U.

C#

silk
C

Join Causing.

D#

silk
D

Dual Joining.

L#

silk
L

Left Joining.

R#

silk
R

Right Joining.

T#

silk
T

Transparent.

U#

silk
U

Non Joining.

Implementation JoiningType#

silk
impl JoiningType

Associated function of#

silk
pub fn of(cp: u32) -> JoiningType

Returns the Joining_Type of the code point cp. A value past U+10FFFF gets U.

Associated function fromTableValue#

silk
pub fn fromTableValue(value: u32) -> JoiningType

Returns the value for the packed number value from unicode_data.joiningType. An unknown number gives U.

JoiningGroup#

silk
pub enum JoiningGroup

The Unicode Joining_Group property: the group of letters in cursive scripts that share one shape in joined forms.

Details#

JoiningGroup.of reads the value of one code point. A code point with no explicit value, or a value past U+10FFFF, gets the Unicode default, No_Joining_Group.

African_Feh#

silk
African_Feh

African Feh.

African_Noon#

silk
African_Noon

African Noon.

African_Qaf#

silk
African_Qaf

African Qaf.

Ain#

silk
Ain

Ain.

Alaph#

silk
Alaph

Alaph.

Alef#

silk
Alef

Alef.

Beh#

silk
Beh

Beh.

Beth#

silk
Beth

Beth.

Burushaski_Yeh_Barree#

silk
Burushaski_Yeh_Barree

Burushaski Yeh Barree.

Crown_Ain#

silk
Crown_Ain

Crown Ain.

Crown_Beh#

silk
Crown_Beh

Crown Beh.

Crown_Feh#

silk
Crown_Feh

Crown Feh.

Crown_Hah#

silk
Crown_Hah

Crown Hah.

Crown_Heh#

silk
Crown_Heh

Crown Heh.

Crown_Kaf#

silk
Crown_Kaf

Crown Kaf.

Crown_Meem#

silk
Crown_Meem

Crown Meem.

Crown_Sad#

silk
Crown_Sad

Crown Sad.

Crown_Seen#

silk
Crown_Seen

Crown Seen.

Crown_Tah#

silk
Crown_Tah

Crown Tah.

Dal#

silk
Dal

Dal.

Dalath_Rish#

silk
Dalath_Rish

Dalath Rish.

E#

silk
E

E.

Farsi_Yeh#

silk
Farsi_Yeh

Farsi Yeh.

Fe#

silk
Fe

Fe.

Feh#

silk
Feh

Feh.

Final_Semkath#

silk
Final_Semkath

Final Semkath.

Gaf#

silk
Gaf

Gaf.

Gamal#

silk
Gamal

Gamal.

Hah#

silk
Hah

Hah.

Hanifi_Rohingya_Kinna_Ya#

silk
Hanifi_Rohingya_Kinna_Ya

Hanifi Rohingya Kinna Ya.

Hanifi_Rohingya_Pa#

silk
Hanifi_Rohingya_Pa

Hanifi Rohingya Pa.

He#

silk
He

He.

Heh#

silk
Heh

Heh.

Heh_Goal#

silk
Heh_Goal

Heh Goal.

Heth#

silk
Heth

Heth.

Kaf#

silk
Kaf

Kaf.

Kaph#

silk
Kaph

Kaph.

Kashmiri_Yeh#

silk
Kashmiri_Yeh

Kashmiri Yeh.

Khaph#

silk
Khaph

Khaph.

Knotted_Heh#

silk
Knotted_Heh

Knotted Heh.

Lam#

silk
Lam

Lam.

Lamadh#

silk
Lamadh

Lamadh.

Malayalam_Bha#

silk
Malayalam_Bha

Malayalam Bha.

Malayalam_Ja#

silk
Malayalam_Ja

Malayalam Ja.

Malayalam_Lla#

silk
Malayalam_Lla

Malayalam Lla.

Malayalam_Llla#

silk
Malayalam_Llla

Malayalam Llla.

Malayalam_Nga#

silk
Malayalam_Nga

Malayalam Nga.

Malayalam_Nna#

silk
Malayalam_Nna

Malayalam Nna.

Malayalam_Nnna#

silk
Malayalam_Nnna

Malayalam Nnna.

Malayalam_Nya#

silk
Malayalam_Nya

Malayalam Nya.

Malayalam_Ra#

silk
Malayalam_Ra

Malayalam Ra.

Malayalam_Ssa#

silk
Malayalam_Ssa

Malayalam Ssa.

Malayalam_Tta#

silk
Malayalam_Tta

Malayalam Tta.

Manichaean_Aleph#

silk
Manichaean_Aleph

Manichaean Aleph.

Manichaean_Ayin#

silk
Manichaean_Ayin

Manichaean Ayin.

Manichaean_Beth#

silk
Manichaean_Beth

Manichaean Beth.

Manichaean_Daleth#

silk
Manichaean_Daleth

Manichaean Daleth.

Manichaean_Dhamedh#

silk
Manichaean_Dhamedh

Manichaean Dhamedh.

Manichaean_Five#

silk
Manichaean_Five

Manichaean Five.

Manichaean_Gimel#

silk
Manichaean_Gimel

Manichaean Gimel.

Manichaean_Heth#

silk
Manichaean_Heth

Manichaean Heth.

Manichaean_Hundred#

silk
Manichaean_Hundred

Manichaean Hundred.

Manichaean_Kaph#

silk
Manichaean_Kaph

Manichaean Kaph.

Manichaean_Lamedh#

silk
Manichaean_Lamedh

Manichaean Lamedh.

Manichaean_Mem#

silk
Manichaean_Mem

Manichaean Mem.

Manichaean_Nun#

silk
Manichaean_Nun

Manichaean Nun.

Manichaean_One#

silk
Manichaean_One

Manichaean One.

Manichaean_Pe#

silk
Manichaean_Pe

Manichaean Pe.

Manichaean_Qoph#

silk
Manichaean_Qoph

Manichaean Qoph.

Manichaean_Resh#

silk
Manichaean_Resh

Manichaean Resh.

Manichaean_Sadhe#

silk
Manichaean_Sadhe

Manichaean Sadhe.

Manichaean_Samekh#

silk
Manichaean_Samekh

Manichaean Samekh.

Manichaean_Taw#

silk
Manichaean_Taw

Manichaean Taw.

Manichaean_Ten#

silk
Manichaean_Ten

Manichaean Ten.

Manichaean_Teth#

silk
Manichaean_Teth

Manichaean Teth.

Manichaean_Thamedh#

silk
Manichaean_Thamedh

Manichaean Thamedh.

Manichaean_Twenty#

silk
Manichaean_Twenty

Manichaean Twenty.

Manichaean_Waw#

silk
Manichaean_Waw

Manichaean Waw.

Manichaean_Yodh#

silk
Manichaean_Yodh

Manichaean Yodh.

Manichaean_Zayin#

silk
Manichaean_Zayin

Manichaean Zayin.

Meem#

silk
Meem

Meem.

Mim#

silk
Mim

Mim.

No_Joining_Group#

silk
No_Joining_Group

No Joining Group.

Noon#

silk
Noon

Noon.

Nun#

silk
Nun

Nun.

Nya#

silk
Nya

Nya.

Pe#

silk
Pe

Pe.

Qaf#

silk
Qaf

Qaf.

Qaph#

silk
Qaph

Qaph.

Reh#

silk
Reh

Reh.

Reversed_Pe#

silk
Reversed_Pe

Reversed Pe.

Rohingya_Yeh#

silk
Rohingya_Yeh

Rohingya Yeh.

Sad#

silk
Sad

Sad.

Sadhe#

silk
Sadhe

Sadhe.

Seen#

silk
Seen

Seen.

Semkath#

silk
Semkath

Semkath.

Shin#

silk
Shin

Shin.

Straight_Waw#

silk
Straight_Waw

Straight Waw.

Swash_Kaf#

silk
Swash_Kaf

Swash Kaf.

Syriac_Waw#

silk
Syriac_Waw

Syriac Waw.

Tah#

silk
Tah

Tah.

Taw#

silk
Taw

Taw.

Teh_Marbuta#

silk
Teh_Marbuta

Teh Marbuta.

Teh_Marbuta_Goal#

silk
Teh_Marbuta_Goal

Teh Marbuta Goal (also Hamza_On_Heh_Goal).

Teth#

silk
Teth

Teth.

Thin_Noon#

silk
Thin_Noon

Thin Noon.

Thin_Yeh#

silk
Thin_Yeh

Thin Yeh.

Vertical_Tail#

silk
Vertical_Tail

Vertical Tail.

Waw#

silk
Waw

Waw.

Yeh#

silk
Yeh

Yeh.

Yeh_Barree#

silk
Yeh_Barree

Yeh Barree.

Yeh_With_Tail#

silk
Yeh_With_Tail

Yeh With Tail.

Yudh#

silk
Yudh

Yudh.

Yudh_He#

silk
Yudh_He

Yudh He.

Zain#

silk
Zain

Zain.

Zhain#

silk
Zhain

Zhain.

Implementation JoiningGroup#

silk
impl JoiningGroup

Associated function of#

silk
pub fn of(cp: u32) -> JoiningGroup

Returns the Joining_Group of the code point cp. A value past U+10FFFF gets No_Joining_Group.

Associated function fromTableValue#

silk
pub fn fromTableValue(value: u32) -> JoiningGroup

Returns the value for the packed number value from unicode_data.joiningGroup. An unknown number gives No_Joining_Group.

LineBreak#

silk
pub enum LineBreak

The Unicode Line_Break property: the line breaking class of a character, which the Unicode Line Breaking Algorithm (UAX #14) reads.

Details#

LineBreak.of reads the value of one code point. A code point with no explicit value, or a value past U+10FFFF, gets the Unicode default, XX.

AI#

silk
AI

Ambiguous.

AK#

silk
AK

Aksara.

AL#

silk
AL

Alphabetic.

AP#

silk
AP

Aksara Prebase.

AS#

silk
AS

Aksara Start.

B2#

silk
B2

Break Both.

BA#

silk
BA

Break After.

BB#

silk
BB

Break Before.

BK#

silk
BK

Mandatory Break.

CB#

silk
CB

Contingent Break.

CJ#

silk
CJ

Conditional Japanese Starter.

CL#

silk
CL

Close Punctuation.

CM#

silk
CM

Combining Mark.

CP#

silk
CP

Close Parenthesis.

CR#

silk
CR

Carriage Return.

EB#

silk
EB

E Base.

EM#

silk
EM

E Modifier.

EX#

silk
EX

Exclamation.

GL#

silk
GL

Glue.

H2#

silk
H2

H2.

H3#

silk
H3

H3.

HH#

silk
HH

Unambiguous Hyphen.

HL#

silk
HL

Hebrew Letter.

HY#

silk
HY

Hyphen.

ID#

silk
ID

Ideographic.

IN#

silk
IN

Inseparable (also Inseperable).

IS#

silk
IS

Infix Numeric.

JL#

silk
JL

JL.

JT#

silk
JT

JT.

JV#

silk
JV

JV.

LF#

silk
LF

Line Feed.

NL#

silk
NL

Next Line.

NS#

silk
NS

Nonstarter.

NU#

silk
NU

Numeric.

OP#

silk
OP

Open Punctuation.

PO#

silk
PO

Postfix Numeric.

PR#

silk
PR

Prefix Numeric.

QU#

silk
QU

Quotation.

RI#

silk
RI

Regional Indicator.

SA#

silk
SA

Complex Context.

SG#

silk
SG

Surrogate.

SP#

silk
SP

Space.

SY#

silk
SY

Break Symbols.

VF#

silk
VF

Virama Final.

VI#

silk
VI

Virama.

WJ#

silk
WJ

Word Joiner.

XX#

silk
XX

Unknown.

ZW#

silk
ZW

ZWSpace.

ZWJ#

silk
ZWJ

ZWJ.

Implementation LineBreak#

silk
impl LineBreak

Associated function of#

silk
pub fn of(cp: u32) -> LineBreak

Returns the Line_Break of the code point cp. A value past U+10FFFF gets XX.

Associated function fromTableValue#

silk
pub fn fromTableValue(value: u32) -> LineBreak

Returns the value for the packed number value from unicode_data.lineBreak. An unknown number gives XX.

Method tableIndex#

silk
pub fn tableIndex(self: Self) -> usize

Returns the row and column of the class in unicode_data.linePairs.

EastAsianWidth#

silk
pub enum EastAsianWidth

The Unicode East_Asian_Width property: the width of a character in East Asian typography (UAX #11).

Details#

EastAsianWidth.of reads the value of one code point. A code point with no explicit value, or a value past U+10FFFF, gets the Unicode default, N.

A#

silk
A

Ambiguous.

F#

silk
F

Fullwidth.

H#

silk
H

Halfwidth.

N#

silk
N

Neutral.

Na#

silk
Na

Narrow.

W#

silk
W

Wide.

Implementation EastAsianWidth#

silk
impl EastAsianWidth

Associated function of#

silk
pub fn of(cp: u32) -> EastAsianWidth

Returns the East_Asian_Width of the code point cp. A value past U+10FFFF gets N.

Associated function fromTableValue#

silk
pub fn fromTableValue(value: u32) -> EastAsianWidth

Returns the value for the packed number value from unicode_data.eastAsianWidth. An unknown number gives N.

GraphemeBreak#

silk
pub enum GraphemeBreak

The Unicode Grapheme_Cluster_Break property: the class of a character for grapheme cluster segmentation (UAX #29).

Details#

GraphemeBreak.of reads the value of one code point. A code point with no explicit value, or a value past U+10FFFF, gets the Unicode default, Other.

Control#

silk
Control

Control (also CN).

CR#

silk
CR

CR.

E_Base#

silk
E_Base

E Base (also EB).

E_Base_GAZ#

silk
E_Base_GAZ

E Base GAZ (also EBG).

E_Modifier#

silk
E_Modifier

E Modifier (also EM).

Extend#

silk
Extend

Extend (also EX).

Glue_After_Zwj#

silk
Glue_After_Zwj

Glue After Zwj (also GAZ).

L#

silk
L

L.

LF#

silk
LF

LF.

LV#

silk
LV

LV.

LVT#

silk
LVT

LVT.

Prepend#

silk
Prepend

Prepend (also PP).

Regional_Indicator#

silk
Regional_Indicator

Regional Indicator (also RI).

SpacingMark#

silk
SpacingMark

SpacingMark (also SM).

T#

silk
T

T.

V#

silk
V

V.

Other#

silk
Other

Other (also XX).

ZWJ#

silk
ZWJ

ZWJ.

Implementation GraphemeBreak#

silk
impl GraphemeBreak

Associated function of#

silk
pub fn of(cp: u32) -> GraphemeBreak

Returns the Grapheme_Cluster_Break of the code point cp. A value past U+10FFFF gets Other.

Associated function fromTableValue#

silk
pub fn fromTableValue(value: u32) -> GraphemeBreak

Returns the value for the packed number value from unicode_data.graphemeBreak. An unknown number gives Other.

WordBreak#

silk
pub enum WordBreak

The Unicode Word_Break property: the class of a character for word segmentation (UAX #29).

Details#

WordBreak.of reads the value of one code point. A code point with no explicit value, or a value past U+10FFFF, gets the Unicode default, Other.

CR#

silk
CR

CR.

Double_Quote#

silk
Double_Quote

Double Quote (also DQ).

E_Base#

silk
E_Base

E Base (also EB).

E_Base_GAZ#

silk
E_Base_GAZ

E Base GAZ (also EBG).

E_Modifier#

silk
E_Modifier

E Modifier (also EM).

ExtendNumLet#

silk
ExtendNumLet

ExtendNumLet (also EX).

Extend#

silk
Extend

Extend.

Format#

silk
Format

Format (also FO).

Glue_After_Zwj#

silk
Glue_After_Zwj

Glue After Zwj (also GAZ).

Hebrew_Letter#

silk
Hebrew_Letter

Hebrew Letter (also HL).

Katakana#

silk
Katakana

Katakana (also KA).

ALetter#

silk
ALetter

ALetter (also LE).

LF#

silk
LF

LF.

MidNumLet#

silk
MidNumLet

MidNumLet (also MB).

MidLetter#

silk
MidLetter

MidLetter (also ML).

MidNum#

silk
MidNum

MidNum (also MN).

Newline#

silk
Newline

Newline (also NL).

Numeric#

silk
Numeric

Numeric (also NU).

Regional_Indicator#

silk
Regional_Indicator

Regional Indicator (also RI).

Single_Quote#

silk
Single_Quote

Single Quote (also SQ).

WSegSpace#

silk
WSegSpace

WSegSpace.

Other#

silk
Other

Other (also XX).

ZWJ#

silk
ZWJ

ZWJ.

Implementation WordBreak#

silk
impl WordBreak

Associated function of#

silk
pub fn of(cp: u32) -> WordBreak

Returns the Word_Break of the code point cp. A value past U+10FFFF gets Other.

Associated function fromTableValue#

silk
pub fn fromTableValue(value: u32) -> WordBreak

Returns the value for the packed number value from unicode_data.wordBreak. An unknown number gives Other.

SentenceBreak#

silk
pub enum SentenceBreak

The Unicode Sentence_Break property: the class of a character for sentence segmentation (UAX #29).

Details#

SentenceBreak.of reads the value of one code point. A code point with no explicit value, or a value past U+10FFFF, gets the Unicode default, Other.

ATerm#

silk
ATerm

ATerm (also AT).

Close#

silk
Close

Close (also CL).

CR#

silk
CR

CR.

Extend#

silk
Extend

Extend (also EX).

Format#

silk
Format

Format (also FO).

OLetter#

silk
OLetter

OLetter (also LE).

LF#

silk
LF

LF.

Lower#

silk
Lower

Lower (also LO).

Numeric#

silk
Numeric

Numeric (also NU).

SContinue#

silk
SContinue

SContinue (also SC).

Sep#

silk
Sep

Sep (also SE).

Sp#

silk
Sp

Sp (also SP).

STerm#

silk
STerm

STerm (also ST).

Upper#

silk
Upper

Upper (also UP).

Other#

silk
Other

Other (also XX).

Implementation SentenceBreak#

silk
impl SentenceBreak

Associated function of#

silk
pub fn of(cp: u32) -> SentenceBreak

Returns the Sentence_Break of the code point cp. A value past U+10FFFF gets Other.

Associated function fromTableValue#

silk
pub fn fromTableValue(value: u32) -> SentenceBreak

Returns the value for the packed number value from unicode_data.sentenceBreak. An unknown number gives Other.

VerticalOrientation#

silk
pub enum VerticalOrientation

The Unicode Vertical_Orientation property: the default orientation of a character in vertical text (UAX #50).

Details#

VerticalOrientation.of reads the value of one code point. A code point with no explicit value, or a value past U+10FFFF, gets the Unicode default, R.

R#

silk
R

Rotated.

Tr#

silk
Tr

Transformed Rotated.

Tu#

silk
Tu

Transformed Upright.

U#

silk
U

Upright.

Implementation VerticalOrientation#

silk
impl VerticalOrientation

Associated function of#

silk
pub fn of(cp: u32) -> VerticalOrientation

Returns the Vertical_Orientation of the code point cp. A value past U+10FFFF gets R.

Associated function fromTableValue#

silk
pub fn fromTableValue(value: u32) -> VerticalOrientation

Returns the value for the packed number value from unicode_data.verticalOrientation. An unknown number gives R.

IndicConjunctBreak#

silk
pub enum IndicConjunctBreak

The Unicode Indic_Conjunct_Break property: the role of a character in an Indic conjunct for grapheme cluster segmentation (UAX #29).

Details#

IndicConjunctBreak.of reads the value of one code point. A code point with no explicit value, or a value past U+10FFFF, gets the Unicode default, None.

None#

silk
None

None.

Consonant#

silk
Consonant

Consonant.

Extend#

silk
Extend

Extend.

Linker#

silk
Linker

Linker.

Implementation IndicConjunctBreak#

silk
impl IndicConjunctBreak

Associated function of#

silk
pub fn of(cp: u32) -> IndicConjunctBreak

Returns the Indic_Conjunct_Break of the code point cp. A value past U+10FFFF gets None.

Associated function fromTableValue#

silk
pub fn fromTableValue(value: u32) -> IndicConjunctBreak

Returns the value for the packed number value from unicode_data.indicConjunctBreak. An unknown number gives None.

BidiPairedBracketType#

silk
pub enum BidiPairedBracketType

The Unicode Bidi_Paired_Bracket_Type property: whether a character is an opening or a closing paired bracket for the Unicode Bidirectional Algorithm.

Details#

BidiPairedBracketType.of reads the value of one code point. A code point with no explicit value, or a value past U+10FFFF, gets the Unicode default, None.

None#

silk
None

None (also n).

Open#

silk
Open

Open (also o).

Close#

silk
Close

Close (also c).

Implementation BidiPairedBracketType#

silk
impl BidiPairedBracketType

Associated function of#

silk
pub fn of(cp: u32) -> BidiPairedBracketType

Returns the Bidi_Paired_Bracket_Type of the code point cp. A value past U+10FFFF gets None.

Associated function fromTableValue#

silk
pub fn fromTableValue(value: u32) -> BidiPairedBracketType

Returns the value for the packed number value from unicode_data.bidiPairedBracketType. An unknown number gives None.

Profiles: aarch64-apple-darwin, aarch64-unknown-linux-gnu, aarch64-unknown-linux-gnu-no-libc, x86_64-unknown-linux-gnu, x86_64-unknown-linux-gnu-no-libc, wasm32-unknown-unknown, wasm32-wasip1, wasm32-wasip2, x86_64-pc-windows-msvc, wasm64-unknown-unknown.

View the source of this page