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

#include <PluralOperands.d.hpp>

Static Public Member Functions

static diplomat::result< std::unique_ptr< icu4x::PluralOperands >, icu4x::DecimalParseErrorfrom_string (std::string_view s)
 
static std::unique_ptr< icu4x::PluralOperandsfrom (int64_t i)
 
static std::unique_ptr< icu4x::PluralOperandsfrom_fixed_decimal (const icu4x::Decimal &x)
 
static void operator delete (void *ptr)
 

Detailed Description

See the Rust documentation for PluralOperands for more information.

Member Function Documentation

◆ from()

std::unique_ptr< icu4x::PluralOperands > icu4x::PluralOperands::from ( int64_t i)
inlinestatic

Construct for a given integer

◆ from_fixed_decimal()

std::unique_ptr< icu4x::PluralOperands > icu4x::PluralOperands::from_fixed_decimal ( const icu4x::Decimal & x)
inlinestatic

Construct from a FixedDecimal

Retains at most 18 digits each from the integer and fraction parts.

◆ from_string()

diplomat::result< std::unique_ptr< icu4x::PluralOperands >, icu4x::DecimalParseError > icu4x::PluralOperands::from_string ( std::string_view s)
inlinestatic

Construct for a given string representing a number

See the Rust documentation for from_str for more information.

◆ operator delete()

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

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