icu library

Classes

Bidi
An ICU4X Bidi object, containing loaded bidi data
BidiInfo
An object containing bidi information for a given string, produced by for_text() on Bidi
BidiParagraph
Bidi information for a single processed paragraph
Calendar
See the Rust documentation for AnyCalendar for more information.
CanonicalCombiningClassMap
Lookup of the Canonical_Combining_Class Unicode property
CanonicalComposition
The raw canonical composition operation.
CanonicalDecomposition
The raw (non-recursive) canonical decomposition operation.
CaseMapCloser
See the Rust documentation for CaseMapCloser for more information.
CaseMapper
See the Rust documentation for CaseMapper for more information.
CodePointMapData16
An ICU4X Unicode Map Property object, capable of querying whether a code point (key) to obtain the Unicode property value, for a specific Unicode property.
CodePointMapData8
An ICU4X Unicode Map Property object, capable of querying whether a code point (key) to obtain the Unicode property value, for a specific Unicode property.
CodePointRangeIterator
An iterator over code point ranges, produced by CodePointSetData or one of the CodePointMapData types
CodePointRangeIteratorResult
Result of a single iteration of `CodePointRangeIterator`. Logically can be considered to be an Option<RangeInclusive<DiplomatChar>>,
CodePointSetBuilder
See the Rust documentation for CodePointInversionListBuilder for more information.
CodePointSetData
An ICU4X Unicode Set Property object, capable of querying whether a code point is contained in a set based on a Unicode property.
Collator
See the Rust documentation for Collator for more information.
CollatorOptions
See the Rust documentation for CollatorOptions for more information.
CollatorResolvedOptions
See the Rust documentation for ResolvedCollatorOptions for more information.
ComposingNormalizer
See the Rust documentation for ComposingNormalizer for more information.
DataProvider
An ICU4X data provider, capable of loading ICU4X data keys from some source.
Date
An ICU4X Date object capable of containing a date and time for any calendar.
DateFormatter
An ICU4X DateFormatter object capable of formatting a `Date` as a string, using some calendar specified at runtime in the locale.
DateTime
An ICU4X DateTime object capable of containing a date and time for any calendar.
DateTimeFormatter
An ICU4X DateFormatter object capable of formatting a `DateTime` as a string, using some calendar specified at runtime in the locale.
Decomposed
The outcome of non-recursive canonical decomposition of a character. second will be NUL when the decomposition expands to a single character (which may or may not be the original one)
DecomposingNormalizer
See the Rust documentation for DecomposingNormalizer for more information.
DisplayNamesOptions
See the Rust documentation for DisplayNamesOptions for more information.
EmojiSetData
An ICU4X Unicode Set Property object, capable of querying whether a code point is contained in a set based on a Unicode property.
ExemplarCharacters
An ICU4X Unicode Set Property object, capable of querying whether a code point is contained in a set based on a Unicode property.
FixedDecimal
See the Rust documentation for FixedDecimal for more information.
FixedDecimalFormatter
An ICU4X Fixed Decimal Format object, capable of formatting a `FixedDecimal` as a string.
FixedDecimalLimitError
Additional information: 1
GeneralCategoryNameToMaskMapper
A type capable of looking up General Category mask values from a string name.
GraphemeClusterBreakIteratorLatin1
See the Rust documentation for GraphemeClusterBreakIterator for more information.
GraphemeClusterBreakIteratorUtf16
See the Rust documentation for GraphemeClusterBreakIterator for more information.
GraphemeClusterBreakIteratorUtf8
See the Rust documentation for GraphemeClusterBreakIterator for more information.
GraphemeClusterSegmenter
An ICU4X grapheme-cluster-break segmenter, capable of finding grapheme cluster breakpoints in strings.
GregorianDateFormatter
An ICU4X TypedDateFormatter object capable of formatting a `IsoDateTime` as a string, using the Gregorian Calendar.
GregorianDateTimeFormatter
An ICU4X FixedCalendarDateTimeFormatter object capable of formatting a `IsoDateTime` as a string, using the Gregorian Calendar.
GregorianZonedDateTimeFormatter
An object capable of formatting a date time with time zone to a string.
IsoDate
An ICU4X Date object capable of containing a ISO-8601 date
IsoDateTime
An ICU4X DateTime object capable of containing a ISO-8601 date and time.
LineBreakIteratorLatin1
See the Rust documentation for LineBreakIterator for more information.
LineBreakIteratorUtf16
See the Rust documentation for LineBreakIterator for more information.
LineBreakIteratorUtf8
See the Rust documentation for LineBreakIterator for more information.
LineBreakOptions
See the Rust documentation for LineBreakOptions for more information.
LineSegmenter
An ICU4X line-break segmenter, capable of finding breakpoints in strings.
ListFormatter
See the Rust documentation for ListFormatter for more information.
Locale
An ICU4X Locale, capable of representing strings like "en-US".
LocaleCanonicalizer
A locale canonicalizer.
LocaleDirectionality
See the Rust documentation for LocaleDirectionality for more information.
LocaleDisplayNamesFormatter
See the Rust documentation for LocaleDisplayNamesFormatter for more information.
LocaleExpander
A locale expander.
LocaleFallbackConfig
Collection of configurations for the ICU4X fallback algorithm.
LocaleFallbacker
An object that runs the ICU4X locale fallback algorithm.
LocaleFallbackerWithConfig
An object that runs the ICU4X locale fallback algorithm with specific configurations.
LocaleFallbackIterator
An iterator over the locale under fallback.
Logger
An object allowing control over the logging used
MeasureUnit
An ICU4X Measurement Unit object which represents a single unit of measurement such as meter, second, kilometer-per-hour, square-meter, etc.
MeasureUnitParser
An ICU4X Measurement Unit parser object which is capable of parsing the CLDR unit identifier (e.g. meter-per-square-second) and get the `MeasureUnit`.
PluralCategories
PluralOperands
See the Rust documentation for PluralOperands for more information.
PluralRules
See the Rust documentation for PluralRules for more information.
PropertyValueNameToEnumMapper
A type capable of looking up a property value from a string name.
RegionDisplayNames
See the Rust documentation for RegionDisplayNames for more information.
ReorderedIndexMap
Thin wrapper around a vector that maps visual indices to source indices
ScriptExtensionsSet
An object that represents the Script_Extensions property for a single character
ScriptWithExtensions
An ICU4X ScriptWithExtensions map object, capable of holding a map of codepoints to scriptextensions values
ScriptWithExtensionsBorrowed
A slightly faster ScriptWithExtensions object
SentenceBreakIteratorLatin1
See the Rust documentation for SentenceBreakIterator for more information.
SentenceBreakIteratorUtf16
See the Rust documentation for SentenceBreakIterator for more information.
SentenceBreakIteratorUtf8
See the Rust documentation for SentenceBreakIterator for more information.
SentenceSegmenter
An ICU4X sentence-break segmenter, capable of finding sentence breakpoints in strings.
Time
An ICU4X Time object representing a time in terms of hour, minute, second, nanosecond
TimeFormatter
An ICU4X TimeFormatter object capable of formatting an `Time` type (and others) as a string
TimeZoneIdMapper
A mapper between IANA time zone identifiers and BCP-47 time zone identifiers.
TimeZoneIdMapperWithFastCanonicalization
A mapper between IANA time zone identifiers and BCP-47 time zone identifiers.
TimeZoneInfo
See the Rust documentation for TimeZoneInfo for more information.
TimeZoneInvalidOffsetError
Additional information: 1
TitlecaseMapper
See the Rust documentation for TitlecaseMapper for more information.
TitlecaseOptions
See the Rust documentation for TitlecaseOptions for more information.
UnitsConverter
An ICU4X Units Converter object, capable of converting between two `MeasureUnit`s.
UnitsConverterFactory
An ICU4X Units Converter Factory object, capable of creating converters a `UnitsConverter` for converting between two `MeasureUnit`s.
WeekCalculator
A Week calculator, useful to be passed in to week_of_year() on Date and DateTime types
WeekendContainsDay
Documents which days of the week are considered to be a part of the weekend
WeekOf
See the Rust documentation for WeekOf for more information.
WordBreakIteratorLatin1
See the Rust documentation for WordBreakIterator for more information.
WordBreakIteratorUtf16
See the Rust documentation for WordBreakIterator for more information.
WordBreakIteratorUtf8
See the Rust documentation for WordBreakIterator for more information.
WordSegmenter
An ICU4X word-break segmenter, capable of finding word breakpoints in strings.
ZonedDateTimeFormatter
An object capable of formatting a date time with time zone to a string.

Enums

AnyCalendarKind
The various calendar types currently supported by `Calendar`
BidiClass
See the Rust documentation for BidiClass for more information.
BidiDirection
CalendarError
Additional information: 1, 2
CalendarParseError
Additional information: 1
CanonicalCombiningClass
See the Rust documentation for CanonicalCombiningClass for more information.
CollatorAlternateHandling
See the Rust documentation for AlternateHandling for more information.
CollatorBackwardSecondLevel
See the Rust documentation for BackwardSecondLevel for more information.
CollatorCaseFirst
See the Rust documentation for CaseFirst for more information.
CollatorCaseLevel
See the Rust documentation for CaseLevel for more information.
CollatorMaxVariable
See the Rust documentation for MaxVariable for more information.
CollatorNumeric
See the Rust documentation for Numeric for more information.
CollatorStrength
See the Rust documentation for Strength for more information.
DataError
Additional information: 1, 2
DateTimeFormatError
Additional information: 1
DateTimeFormatterLoadError
Additional information: 1, 2, 3
DateTimeLength
See the Rust documentation for Length for more information.
DisplayNamesFallback
See the Rust documentation for Fallback for more information.
DisplayNamesStyle
See the Rust documentation for Style for more information.
EastAsianWidth
See the Rust documentation for EastAsianWidth for more information.
FixedDecimalGroupingStrategy
See the Rust documentation for GroupingStrategy for more information.
FixedDecimalParseError
Additional information: 1
FixedDecimalRoundingIncrement
Increment used in a rounding operation.
FixedDecimalRoundingMode
Mode used in a rounding operation.
FixedDecimalSign
The sign of a FixedDecimal, as shown in formatting.
FixedDecimalSignDisplay
ECMA-402 compatible sign display preference.
GeneralCategory
See the Rust documentation for GeneralCategory for more information.
GraphemeClusterBreak
See the Rust documentation for GraphemeClusterBreak for more information.
HangulSyllableType
See the Rust documentation for HangulSyllableType for more information.
IndicSyllabicCategory
See the Rust documentation for IndicSyllabicCategory for more information.
IsoWeekday
JoiningType
See the Rust documentation for JoiningType for more information.
LanguageDisplay
See the Rust documentation for LanguageDisplay for more information.
LeadingAdjustment
See the Rust documentation for LeadingAdjustment for more information.
LineBreak
See the Rust documentation for LineBreak for more information.
LineBreakStrictness
See the Rust documentation for LineBreakStrictness for more information.
LineBreakWordOption
See the Rust documentation for LineBreakWordOption for more information.
ListLength
See the Rust documentation for ListLength for more information.
LocaleDirection
See the Rust documentation for Direction for more information.
LocaleFallbackPriority
Priority mode for the ICU4X fallback algorithm.
LocaleParseError
Additional information: 1
PluralCategory
See the Rust documentation for PluralCategory for more information.
Script
See the Rust documentation for Script for more information.
SegmenterWordType
See the Rust documentation for WordType for more information.
SentenceBreak
See the Rust documentation for SentenceBreak for more information.
TrailingCase
See the Rust documentation for TrailingCase for more information.
TransformResult
See the Rust documentation for TransformResult for more information.
WeekRelativeUnit
See the Rust documentation for RelativeUnit for more information.
WordBreak
See the Rust documentation for WordBreak for more information.

Typedefs

Rune = int
A Rune is a Unicode code point, such as a, or 💡.