StringName

Undocumented in source.

Constructors

this
this(String s)
Undocumented in source.
this
this(string s)
Undocumented in source.
this
this(S num)

Numeric constructor. S can be a built-in numeric type.

this
deprecated this()
Undocumented in source.
this
this(godot_string strname)
Undocumented in source.
this
this(S str)

char constructor. S can be a slice (like string) or a null-terminated pointer.

Destructor

~this
~this()
Undocumented in source.

Postblit

this(this)
this(this)
Undocumented in source.

Alias This

_stringName

Members

Functions

_defaultCtor
void _defaultCtor()
Undocumented in source. Be warned that the author may not have intended to support it.
data
dstring data()

Returns a slice of the char32_t data without the zero terminator.

empty
bool empty()
length
size_t length()

Returns the length of the char32_t array, minus the zero terminator.

opAssign
void opAssign(StringName other)
Undocumented in source. Be warned that the author may not have intended to support it.
opAssign
void opAssign(string other)
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
String opCast()
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
GDExtensionStringNamePtr opCast()
Undocumented in source. Be warned that the author may not have intended to support it.
opEquals
bool opEquals(StringName other)
Undocumented in source. Be warned that the author may not have intended to support it.
ptr
immutable(char32_t)* ptr()

Returns a pointer to the wchar_t data. Always zero-terminated.

toHash
hash_t toHash()
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

makeEmpty
StringName makeEmpty()
Undocumented in source. Be warned that the author may not have intended to support it.

Unions

_StringName
union _StringName
Undocumented in source.

Variables

_stringName
_StringName _stringName;
Undocumented in source.

Meta