ICU4X
International Components for Unicode
Loading...
Searching...
No Matches
CodePointRangeIteratorResult Struct Reference

#include <CodePointRangeIteratorResult.hpp>

Public Attributes

uint32_t start
 
uint32_t end
 
bool done
 

Detailed Description

Result of a single iteration of [CodePointRangeIterator]. Logically can be considered to be an Option<RangeInclusive<u32>>,

start and end represent an inclusive range of code points [start, end], and done will be true if the iterator has already finished. The last contentful iteration will NOT produce a range done=true, in other words start and end are useful values if and only if done=false.

Member Data Documentation

◆ done

bool CodePointRangeIteratorResult::done

◆ end

uint32_t CodePointRangeIteratorResult::end

◆ start

uint32_t CodePointRangeIteratorResult::start

The documentation for this struct was generated from the following file: