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

#include <HangulSyllableType.d.hpp>

Public Types

enum  Value {
  NotApplicable = 0 , LeadingJamo = 1 , VowelJamo = 2 , TrailingJamo = 3 ,
  LeadingVowelSyllable = 4 , LeadingVowelTrailingSyllable = 5
}
 

Public Member Functions

 HangulSyllableType ()=default
 
constexpr HangulSyllableType (Value v)
 
constexpr operator Value () const
 
 operator bool () const =delete
 
uint8_t to_integer_value () const
 

Static Public Member Functions

static icu4x::HangulSyllableType for_char (char32_t ch)
 
static std::optional< icu4x::HangulSyllableTypefrom_integer_value (uint8_t other)
 

Detailed Description

See the Rust documentation for HangulSyllableType for more information.

Member Enumeration Documentation

◆ Value

Enumerator
NotApplicable 
LeadingJamo 
VowelJamo 
TrailingJamo 
LeadingVowelSyllable 
LeadingVowelTrailingSyllable 

Constructor & Destructor Documentation

◆ HangulSyllableType() [1/2]

icu4x::HangulSyllableType::HangulSyllableType ( )
default

◆ HangulSyllableType() [2/2]

icu4x::HangulSyllableType::HangulSyllableType ( Value v)
inlineconstexpr

Member Function Documentation

◆ for_char()

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

See the Rust documentation for for_char for more information.

◆ from_integer_value()

std::optional< icu4x::HangulSyllableType > icu4x::HangulSyllableType::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.

◆ operator bool()

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

◆ operator Value()

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

◆ to_integer_value()

uint8_t icu4x::HangulSyllableType::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: