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

#include <LocaleDisplayNamesFormatter.d.hpp>

Public Member Functions

std::string of (const icu4x::Locale &locale) const
 
template<typename W>
void of_write (const icu4x::Locale &locale, W &writeable_output) const
 

Static Public Member Functions

static icu4x::diplomat::result< std::unique_ptr< icu4x::LocaleDisplayNamesFormatter >, icu4x::DataErrorcreate_v1 (const icu4x::Locale &locale, icu4x::DisplayNamesOptionsV1 options)
 
static icu4x::diplomat::result< std::unique_ptr< icu4x::LocaleDisplayNamesFormatter >, icu4x::DataErrorcreate_v1_with_provider (const icu4x::DataProvider &provider, const icu4x::Locale &locale, icu4x::DisplayNamesOptionsV1 options)
 
static void operator delete (void *ptr)
 

Detailed Description

🚧 This API is experimental and may experience breaking changes outside major releases.

See the Rust documentation for LocaleDisplayNamesFormatter for more information.

Member Function Documentation

◆ create_v1()

icu4x::diplomat::result< std::unique_ptr< icu4x::LocaleDisplayNamesFormatter >, icu4x::DataError > icu4x::LocaleDisplayNamesFormatter::create_v1 ( const icu4x::Locale & locale,
icu4x::DisplayNamesOptionsV1 options )
inlinestatic

🚧 This API is experimental and may experience breaking changes outside major releases.

Creates a new LocaleDisplayNamesFormatter from locale data and an options bag using compiled data.

See the Rust documentation for try_new for more information.

◆ create_v1_with_provider()

icu4x::diplomat::result< std::unique_ptr< icu4x::LocaleDisplayNamesFormatter >, icu4x::DataError > icu4x::LocaleDisplayNamesFormatter::create_v1_with_provider ( const icu4x::DataProvider & provider,
const icu4x::Locale & locale,
icu4x::DisplayNamesOptionsV1 options )
inlinestatic

🚧 This API is experimental and may experience breaking changes outside major releases.

Creates a new LocaleDisplayNamesFormatter from locale data and an options bag using a particular data source.

See the Rust documentation for try_new for more information.

◆ of()

std::string icu4x::LocaleDisplayNamesFormatter::of ( const icu4x::Locale & locale) const
inline

🚧 This API is experimental and may experience breaking changes outside major releases.

Returns the locale-specific display name of a locale. 🚧 This API is experimental and may experience breaking changes outside major releases.

See the Rust documentation for of for more information.

◆ of_write()

template<typename W>
void icu4x::LocaleDisplayNamesFormatter::of_write ( const icu4x::Locale & locale,
W & writeable_output ) const
inline

◆ operator delete()

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

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