ICU4X
International Components for Unicode
Loading...
Searching...
No Matches
icu4x::LocaleFallbacker Class Reference

#include <LocaleFallbacker.d.hpp>

Public Member Functions

std::unique_ptr< icu4x::LocaleFallbackerWithConfigfor_config (icu4x::LocaleFallbackConfig config) const
 

Static Public Member Functions

static std::unique_ptr< icu4x::LocaleFallbackercreate ()
 
static diplomat::result< std::unique_ptr< icu4x::LocaleFallbacker >, icu4x::DataErrorcreate_with_provider (const icu4x::DataProvider &provider)
 
static std::unique_ptr< icu4x::LocaleFallbackerwithout_data ()
 
static void operator delete (void *ptr)
 

Detailed Description

An object that runs the ICU4X locale fallback algorithm.

See the Rust documentation for LocaleFallbacker for more information.

Member Function Documentation

◆ create()

std::unique_ptr< icu4x::LocaleFallbacker > icu4x::LocaleFallbacker::create ( )
inlinestatic

Creates a new LocaleFallbacker from compiled data.

See the Rust documentation for new for more information.

◆ create_with_provider()

diplomat::result< std::unique_ptr< icu4x::LocaleFallbacker >, icu4x::DataError > icu4x::LocaleFallbacker::create_with_provider ( const icu4x::DataProvider & provider)
inlinestatic

Creates a new LocaleFallbacker from a data provider.

See the Rust documentation for new for more information.

◆ for_config()

std::unique_ptr< icu4x::LocaleFallbackerWithConfig > icu4x::LocaleFallbacker::for_config ( icu4x::LocaleFallbackConfig config) const
inline

Associates this LocaleFallbacker with configuration options.

See the Rust documentation for for_config for more information.

◆ operator delete()

void icu4x::LocaleFallbacker::operator delete ( void * ptr)
inlinestatic

◆ without_data()

std::unique_ptr< icu4x::LocaleFallbacker > icu4x::LocaleFallbacker::without_data ( )
inlinestatic

Creates a new LocaleFallbacker without data for limited functionality.

See the Rust documentation for new_without_data for more information.


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