LineBreakClass
enum · ferroui-base · v0.5.0
enum LineBreakClass
The Unicode LineBreakClass property values, numbered as the generated tries store them.
Members
OpenPunctuationClosePunctuationCloseParenthesisQuotationGlueNonstarterExclamationBreakSymbolsInfixNumericPrefixNumericPostfixNumericNumericAlphabeticHebrewLetterIdeographicInseparableHyphenBreakAfterBreakBeforeBreakBothZWSpaceCombiningMarkWordJoinerH2H3JLJVJTRegionalIndicatorEBaseEModifierZWJContingentBreakUnknownAmbiguousAksaraAksaraPrebaseAksaraStartMandatoryBreakConditionalJapaneseStarterCarriageReturnUnambiguousHyphenLineFeedNextLineComplexContextSurrogateSpaceViramaFinalViramaCOUNTfrom_u32
OpenPunctuation
OpenPunctuation = 0
Property value alias: OP
ClosePunctuation
ClosePunctuation = 1
Property value alias: CL
CloseParenthesis
CloseParenthesis = 2
Property value alias: CP
Quotation
Quotation = 3
Property value alias: QU
Glue
Glue = 4
Property value alias: GL
Nonstarter
Nonstarter = 5
Property value alias: NS
Exclamation
Exclamation = 6
Property value alias: EX
BreakSymbols
BreakSymbols = 7
Property value alias: SY
InfixNumeric
InfixNumeric = 8
Property value alias: IS
PrefixNumeric
PrefixNumeric = 9
Property value alias: PR
PostfixNumeric
PostfixNumeric = 10
Property value alias: PO
Numeric
Numeric = 11
Property value alias: NU
Alphabetic
Alphabetic = 12
Property value alias: AL
HebrewLetter
HebrewLetter = 13
Property value alias: HL
Ideographic
Ideographic = 14
Property value alias: ID
Inseparable
Inseparable = 15
Property value alias: IN
Hyphen
Hyphen = 16
Property value alias: HY
BreakAfter
BreakAfter = 17
Property value alias: BA
BreakBefore
BreakBefore = 18
Property value alias: BB
BreakBoth
BreakBoth = 19
Property value alias: B2
ZWSpace
ZWSpace = 20
Property value alias: ZW
CombiningMark
CombiningMark = 21
Property value alias: CM
WordJoiner
WordJoiner = 22
Property value alias: WJ
H2
H2 = 23
Property value alias: H2
H3
H3 = 24
Property value alias: H3
JL
JL = 25
Property value alias: JL
JV
JV = 26
Property value alias: JV
JT
JT = 27
Property value alias: JT
RegionalIndicator
RegionalIndicator = 28
Property value alias: RI
EBase
EBase = 29
Property value alias: EB
EModifier
EModifier = 30
Property value alias: EM
ZWJ
ZWJ = 31
Property value alias: ZWJ
ContingentBreak
ContingentBreak = 32
Property value alias: CB
Unknown
Unknown = 33
Property value alias: XX
Ambiguous
Ambiguous = 34
Property value alias: AI
Aksara
Aksara = 35
Property value alias: AK
AksaraPrebase
AksaraPrebase = 36
Property value alias: AP
AksaraStart
AksaraStart = 37
Property value alias: AS
MandatoryBreak
MandatoryBreak = 38
Property value alias: BK
ConditionalJapaneseStarter
ConditionalJapaneseStarter = 39
Property value alias: CJ
CarriageReturn
CarriageReturn = 40
Property value alias: CR
UnambiguousHyphen
UnambiguousHyphen = 41
Property value alias: HH
LineFeed
LineFeed = 42
Property value alias: LF
NextLine
NextLine = 43
Property value alias: NL
ComplexContext
ComplexContext = 44
Property value alias: SA
Surrogate
Surrogate = 45
Property value alias: SG
Space
Space = 46
Property value alias: SP
ViramaFinal
ViramaFinal = 47
Property value alias: VF
Virama
Virama = 48
Property value alias: VI
COUNT
const COUNT: usize
The number of values.
from_u32
const fn from_u32(value: u32) -> Self
Converts the numeric value stored in the generated tries (the cast upstream performs).
Values outside of the enum map to OpenPunctuation (value 0).
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeResourceKeyObjectPropertyValueAnyValueClassDefaultsBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedErasedDestructorIntoEitherCloneCopyDebugDefaultStructuralPartialEqPartialEqEqPartialOrdOrdHash
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.