kiba-engine
Data Fields
string_view Struct Reference

Non owning views on actual strings. More...

#include <string.h>

Collaboration diagram for string_view:

Data Fields

string str
 The string the view is defined on.
 
usize length
 The length of the view.
 
usize offset
 The offset into the string.
 
b8 is_valid
 Indicates if the view is valid and can be used/accessed.
 

Detailed Description

Non owning views on actual strings.

Serves as a view on string data without having to copy.

Definition at line 31 of file string.h.


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