ICU4X
International Components for Unicode
Loading...
Searching...
No Matches
ICU4XLocaleExpander Class Reference

#include <ICU4XLocaleExpander.hpp>

Public Member Functions

ICU4XTransformResult maximize (ICU4XLocale &locale) const
 
ICU4XTransformResult minimize (ICU4XLocale &locale) const
 
ICU4XTransformResult minimize_favor_script (ICU4XLocale &locale) const
 
 ICU4XLocaleExpander (capi::ICU4XLocaleExpander *i)
 
 ICU4XLocaleExpander ()=default
 
 ICU4XLocaleExpander (ICU4XLocaleExpander &&) noexcept=default
 
ICU4XLocaleExpanderoperator= (ICU4XLocaleExpander &&other) noexcept=default
 

Static Public Member Functions

static diplomat::result< ICU4XLocaleExpander, ICU4XErrorcreate (const ICU4XDataProvider &provider)
 
static diplomat::result< ICU4XLocaleExpander, ICU4XErrorcreate_extended (const ICU4XDataProvider &provider)
 

Detailed Description

A locale expander.

See the Rust documentation for LocaleExpander for more information.

Constructor & Destructor Documentation

◆ ICU4XLocaleExpander() [1/3]

ICU4XLocaleExpander::ICU4XLocaleExpander ( capi::ICU4XLocaleExpander * i)
inlineexplicit

◆ ICU4XLocaleExpander() [2/3]

ICU4XLocaleExpander::ICU4XLocaleExpander ( )
default

◆ ICU4XLocaleExpander() [3/3]

ICU4XLocaleExpander::ICU4XLocaleExpander ( ICU4XLocaleExpander && )
defaultnoexcept

Member Function Documentation

◆ create()

diplomat::result< ICU4XLocaleExpander, ICU4XError > ICU4XLocaleExpander::create ( const ICU4XDataProvider & provider)
inlinestatic

Create a new [ICU4XLocaleExpander].

See the Rust documentation for new for more information.

◆ create_extended()

diplomat::result< ICU4XLocaleExpander, ICU4XError > ICU4XLocaleExpander::create_extended ( const ICU4XDataProvider & provider)
inlinestatic

Create a new [ICU4XLocaleExpander] with extended data.

See the Rust documentation for new_extended for more information.

◆ maximize()

ICU4XTransformResult ICU4XLocaleExpander::maximize ( ICU4XLocale & locale) const
inline

See the Rust documentation for maximize for more information.

◆ minimize()

ICU4XTransformResult ICU4XLocaleExpander::minimize ( ICU4XLocale & locale) const
inline

See the Rust documentation for minimize for more information.

◆ minimize_favor_script()

ICU4XTransformResult ICU4XLocaleExpander::minimize_favor_script ( ICU4XLocale & locale) const
inline

See the Rust documentation for minimize_favor_script for more information.

◆ operator=()

ICU4XLocaleExpander & ICU4XLocaleExpander::operator= ( ICU4XLocaleExpander && other)
defaultnoexcept

The documentation for this class was generated from the following file: