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

#include <GraphemeClusterBreak.d.hpp>

Public Types

enum  Value {
  Other = 0 , Control = 1 , CR = 2 , Extend = 3 ,
  L = 4 , LF = 5 , LV = 6 , LVT = 7 ,
  T = 8 , V = 9 , SpacingMark = 10 , Prepend = 11 ,
  RegionalIndicator = 12 , EBase = 13 , EBaseGAZ = 14 , EModifier = 15 ,
  GlueAfterZwj = 16 , ZWJ = 17
}
 

Public Member Functions

 GraphemeClusterBreak ()
 
constexpr GraphemeClusterBreak (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::GraphemeClusterBreak for_char (char32_t ch)
 
static std::optional< icu4x::GraphemeClusterBreakfrom_integer_value (uint8_t other)
 
static std::optional< icu4x::GraphemeClusterBreaktry_from_str (std::string_view s)
 

Detailed Description

See the Rust documentation for GraphemeClusterBreak for more information.

Member Enumeration Documentation

◆ Value

Enumerator
Other 

See the Rust documentation for Other for more information.

Control 

See the Rust documentation for Control for more information.

CR 

See the Rust documentation for CR for more information.

Extend 

See the Rust documentation for Extend for more information.

See the Rust documentation for L for more information.

LF 

See the Rust documentation for LF for more information.

LV 

See the Rust documentation for LV for more information.

LVT 

See the Rust documentation for LVT for more information.

See the Rust documentation for T for more information.

See the Rust documentation for V for more information.

SpacingMark 

See the Rust documentation for SpacingMark for more information.

Prepend 

See the Rust documentation for Prepend for more information.

RegionalIndicator 

See the Rust documentation for RegionalIndicator for more information.

EBase 

See the Rust documentation for EBase for more information.

EBaseGAZ 

See the Rust documentation for EBaseGAZ for more information.

EModifier 

See the Rust documentation for EModifier for more information.

GlueAfterZwj 

See the Rust documentation for GlueAfterZwj for more information.

ZWJ 

See the Rust documentation for ZWJ for more information.

Constructor & Destructor Documentation

◆ GraphemeClusterBreak() [1/2]

icu4x::GraphemeClusterBreak::GraphemeClusterBreak ( )
inline

◆ GraphemeClusterBreak() [2/2]

icu4x::GraphemeClusterBreak::GraphemeClusterBreak ( Value v)
inlineconstexpr

Member Function Documentation

◆ for_char()

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

See the Rust documentation for for_char for more information.

◆ from_integer_value()

std::optional< icu4x::GraphemeClusterBreak > icu4x::GraphemeClusterBreak::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::GraphemeClusterBreak::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::GraphemeClusterBreak::operator bool ( ) const
explicitdelete

◆ operator Value()

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

◆ short_name()

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

◆ try_from_str()

std::optional< icu4x::GraphemeClusterBreak > icu4x::GraphemeClusterBreak::try_from_str ( std::string_view s)
inlinestatic

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