icu
    Preparing search index...

    Class CaseMapper

    See the Rust documentation for CaseMapper for more information.

    Index

    Constructors

    Methods

    • Returns the full lowercase mapping of the given string, using compiled data (avoids having to allocate a CaseMapper object)

      See the Rust documentation for lowercase for more information.

      Parameters

      Returns string

    • Returns the simple Turkic casefolding of the given character, using compiled data (avoids having to allocate a CaseMapper object)

      See the Rust documentation for simple_fold_turkic for more information.

      Parameters

      • ch: number

      Returns number

    • Returns the simple casefolding of the given character, using compiled data (avoids having to allocate a CaseMapper object)

      See the Rust documentation for simple_fold for more information.

      Parameters

      • ch: number

      Returns number

    • Returns the simple lowercase mapping of the given character, using compiled data (avoids having to allocate a CaseMapper object)

      See the Rust documentation for simple_lowercase for more information.

      Parameters

      • ch: number

      Returns number

    • Returns the simple titlecase mapping of the given character, using compiled data (avoids having to allocate a CaseMapper object)

      See the Rust documentation for simple_titlecase for more information.

      Parameters

      • ch: number

      Returns number

    • Returns the simple uppercase mapping of the given character, using compiled data (avoids having to allocate a CaseMapper object)

      See the Rust documentation for simple_uppercase for more information.

      Parameters

      • ch: number

      Returns number

    • Returns the full uppercase mapping of the given string, using compiled data (avoids having to allocate a CaseMapper object)

      See the Rust documentation for uppercase for more information.

      Parameters

      Returns string

    • Adds all simple case mappings and the full case folding for c to builder. Also adds special case closure mappings.

      In other words, this adds all characters that this casemaps to, as well as all characters that may casemap to this one.

      Note that since CodePointSetBuilder does not contain strings, this will ignore string mappings.

      Identical to the similarly named method on CaseMapCloser, use that if you plan on using string case closure mappings too.

      See the Rust documentation for add_case_closure_to for more information.

      Parameters

      Returns void

    • Returns the simple casefolding of the given character.

      This function only implements simple folding. For full folding, use CaseMapperBorrowed::fold.

      See the Rust documentation for simple_fold for more information.

      Parameters

      • ch: number

      Returns number

    • Returns the simple casefolding of the given character in the Turkic locale.

      This function only implements simple folding. For full folding, use CaseMapperBorrowed::fold_turkic.

      See the Rust documentation for simple_fold_turkic for more information.

      Parameters

      • ch: number

      Returns number

    • Returns the simple lowercase mapping of the given character.

      This function only implements simple and common mappings. Full mappings, which can map one char to a string, are not included. For full mappings, use CaseMapperBorrowed::lowercase.

      See the Rust documentation for simple_lowercase for more information.

      Parameters

      • ch: number

      Returns number

    • Returns the simple titlecase mapping of the given character.

      This function only implements simple and common mappings. Full mappings, which can map one char to a string, are not included. For full mappings, use CaseMapperBorrowed::titlecase_segment.

      See the Rust documentation for simple_titlecase for more information.

      Parameters

      • ch: number

      Returns number

    • Returns the simple uppercase mapping of the given character.

      This function only implements simple and common mappings. Full mappings, which can map one char to a string, are not included. For full mappings, use CaseMapperBorrowed::uppercase.

      See the Rust documentation for simple_uppercase for more information.

      Parameters

      • ch: number

      Returns number