Skip to main content

Module options

Module options 

Source
Expand description

This module contains the types that are part of the API for setting the options for the collator.

Structsยง

CollatorOptions
Options settable by the user of the API.
CollatorOptionsBitField ๐Ÿ”’
ResolvedCollatorOptions
The resolved (actually used) options used by the collator.

Enumsยง

AlternateHandling
What to do about characters whose comparison level can be varied dynamically.
CaseLevel
Whether to distinguish case in sorting, even for sorting levels higher than tertiary, without having to use tertiary level just to enable case level differences.
MaxVariable
What characters get shifted to the quaternary level with AlternateHandling::Shifted.
Strength
The collation strength that indicates how many levels to compare. The primary level considers base letters, i.e. โ€˜aโ€™ and โ€˜bโ€™ are unequal but โ€˜Eโ€™ and โ€˜รฉโ€™ are equal, with further levels dealing with distinctions such as accents and case.