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

#include <DecimalSign.d.hpp>

Public Types

enum  Value { None = 0 , Negative = 1 , Positive = 2 }
 

Public Member Functions

 DecimalSign ()=default
 
constexpr DecimalSign (Value v)
 
constexpr operator Value () const
 
 operator bool () const =delete
 

Detailed Description

The sign of a Decimal, as shown in formatting.

See the Rust documentation for Sign for more information.

Member Enumeration Documentation

◆ Value

Enumerator
None 
Negative 
Positive 

Constructor & Destructor Documentation

◆ DecimalSign() [1/2]

icu4x::DecimalSign::DecimalSign ( )
default

◆ DecimalSign() [2/2]

icu4x::DecimalSign::DecimalSign ( Value v)
inlineconstexpr

Member Function Documentation

◆ operator bool()

icu4x::DecimalSign::operator bool ( ) const
explicitdelete

◆ operator Value()

icu4x::DecimalSign::operator Value ( ) const
inlineconstexpr

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