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

#include <ICU4XLocaleFallbacker.hpp>

Public Member Functions

diplomat::result< ICU4XLocaleFallbackerWithConfig, ICU4XErrorfor_config (ICU4XLocaleFallbackConfig config) const
 
 ICU4XLocaleFallbacker (capi::ICU4XLocaleFallbacker *i)
 
 ICU4XLocaleFallbacker ()=default
 
 ICU4XLocaleFallbacker (ICU4XLocaleFallbacker &&) noexcept=default
 
ICU4XLocaleFallbackeroperator= (ICU4XLocaleFallbacker &&other) noexcept=default
 

Static Public Member Functions

static diplomat::result< ICU4XLocaleFallbacker, ICU4XErrorcreate (const ICU4XDataProvider &provider)
 
static ICU4XLocaleFallbacker create_without_data ()
 

Detailed Description

An object that runs the ICU4X locale fallback algorithm.

See the Rust documentation for LocaleFallbacker for more information.

Constructor & Destructor Documentation

◆ ICU4XLocaleFallbacker() [1/3]

ICU4XLocaleFallbacker::ICU4XLocaleFallbacker ( capi::ICU4XLocaleFallbacker * i)
inlineexplicit

◆ ICU4XLocaleFallbacker() [2/3]

ICU4XLocaleFallbacker::ICU4XLocaleFallbacker ( )
default

◆ ICU4XLocaleFallbacker() [3/3]

ICU4XLocaleFallbacker::ICU4XLocaleFallbacker ( ICU4XLocaleFallbacker && )
defaultnoexcept

Member Function Documentation

◆ create()

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

Creates a new ICU4XLocaleFallbacker from a data provider.

See the Rust documentation for new for more information.

◆ create_without_data()

ICU4XLocaleFallbacker ICU4XLocaleFallbacker::create_without_data ( )
inlinestatic

Creates a new ICU4XLocaleFallbacker without data for limited functionality.

See the Rust documentation for new_without_data for more information.

◆ for_config()

diplomat::result< ICU4XLocaleFallbackerWithConfig, ICU4XError > ICU4XLocaleFallbacker::for_config ( ICU4XLocaleFallbackConfig config) const
inline

Associates this ICU4XLocaleFallbacker with configuration options.

See the Rust documentation for for_config for more information.

Lifetimes: this must live at least as long as the output.

◆ operator=()

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

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