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

#include <JoiningType.d.hpp>

Public Types

enum  Value {
  NonJoining = 0 , JoinCausing = 1 , DualJoining = 2 , LeftJoining = 3 ,
  RightJoining = 4 , Transparent = 5
}
 

Public Member Functions

 JoiningType ()=default
 
constexpr JoiningType (Value v)
 
constexpr operator Value () const
 
 operator bool () const =delete
 
std::optional< std::string_view > long_name () const
 
std::optional< std::string_view > short_name () const
 
uint8_t to_integer_value () const
 

Static Public Member Functions

static icu4x::JoiningType for_char (char32_t ch)
 
static std::optional< icu4x::JoiningTypefrom_integer_value (uint8_t other)
 

Detailed Description

See the Rust documentation for JoiningType for more information.

Member Enumeration Documentation

◆ Value

Enumerator
NonJoining 
JoinCausing 
DualJoining 
LeftJoining 
RightJoining 
Transparent 

Constructor & Destructor Documentation

◆ JoiningType() [1/2]

icu4x::JoiningType::JoiningType ( )
default

◆ JoiningType() [2/2]

icu4x::JoiningType::JoiningType ( Value v)
inlineconstexpr

Member Function Documentation

◆ for_char()

icu4x::JoiningType icu4x::JoiningType::for_char ( char32_t ch)
inlinestatic

See the Rust documentation for for_char for more information.

◆ from_integer_value()

std::optional< icu4x::JoiningType > icu4x::JoiningType::from_integer_value ( uint8_t other)
inlinestatic

Convert from an integer value from ICU4C or CodePointMapData

See the Rust documentation for from_icu4c_value for more information.

◆ long_name()

std::optional< std::string_view > icu4x::JoiningType::long_name ( ) const
inline

Get the "long" name of this property value (returns empty if property value is unknown)

See the Rust documentation for get for more information.

◆ operator bool()

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

◆ operator Value()

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

◆ short_name()

std::optional< std::string_view > icu4x::JoiningType::short_name ( ) const
inline

Get the "short" name of this property value (returns empty if property value is unknown)

See the Rust documentation for get for more information.

◆ to_integer_value()

uint8_t icu4x::JoiningType::to_integer_value ( ) const
inline

Convert to an integer value usable with ICU4C and CodePointMapData

See the Rust documentation for to_icu4c_value for more information.


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