TachyonUI 0.1.0
High-performance UI for building tools.
Loading...
Searching...
No Matches
tachyon::IndexRange Struct Reference

A half-open range [begin, end) of indices within one depth. More...

#include <gui_core/elements/gui_element.h>

Public Member Functions

bool Empty () const
uint32_t Size () const
bool operator== (const IndexRange &rhs) const =default
bool operator!= (const IndexRange &rhs) const =default

Public Attributes

uint32_t begin = 0
uint32_t end = 0
 exclusive

Detailed Description

A half-open range [begin, end) of indices within one depth.

Member Function Documentation

◆ Empty()

bool tachyon::IndexRange::Empty ( ) const
inline

◆ Size()

uint32_t tachyon::IndexRange::Size ( ) const
inline

◆ operator==()

bool tachyon::IndexRange::operator== ( const IndexRange & rhs) const
default

◆ operator!=()

bool tachyon::IndexRange::operator!= ( const IndexRange & rhs) const
default

Member Data Documentation

◆ begin

uint32_t tachyon::IndexRange::begin = 0

◆ end

uint32_t tachyon::IndexRange::end = 0

exclusive


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