PoolArray

Copy-on-write array for some Godot types, allocated with a memory pool.

Constructors

this
this(Array arr)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Postblit

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

Members

Aliases

append
alias append = pushBack
Undocumented in source.
length
alias length = size
Undocumented in source.
opDollar
alias opDollar = size
Undocumented in source.
opOpAssign
alias opOpAssign(string op : "~") = pushBack
Undocumented in source.

Functions

append_array
void append_array(PoolArray arr)
Undocumented in source. Be warned that the author may not have intended to support it.
empty
bool empty()
insert
void insert(size_t idx, String data)
Undocumented in source. Be warned that the author may not have intended to support it.
insert
void insert(size_t idx, T data)
Undocumented in source. Be warned that the author may not have intended to support it.
invert
void invert()
Undocumented in source. Be warned that the author may not have intended to support it.
opAssign
PoolArray opAssign(PoolArray other)
Undocumented in source. Be warned that the author may not have intended to support it.
opIndex
String opIndex(size_t idx)
Undocumented in source. Be warned that the author may not have intended to support it.
opIndex
T opIndex(size_t idx)
Undocumented in source. Be warned that the author may not have intended to support it.
opIndexAssign
void opIndexAssign(String data, size_t idx)
Undocumented in source. Be warned that the author may not have intended to support it.
opIndexAssign
void opIndexAssign(T data, size_t idx)
Undocumented in source. Be warned that the author may not have intended to support it.
opSlice
Range opSlice()
Undocumented in source. Be warned that the author may not have intended to support it.
opSlice
Range opSlice(size_t start, size_t end)
Undocumented in source. Be warned that the author may not have intended to support it.
pushBack
void pushBack(String data)
Undocumented in source. Be warned that the author may not have intended to support it.
pushBack
void pushBack(T data)
Undocumented in source. Be warned that the author may not have intended to support it.
remove
void remove(size_t idx)
Undocumented in source. Be warned that the author may not have intended to support it.
resize
void resize(size_t size)
Undocumented in source. Be warned that the author may not have intended to support it.
set
void set(size_t idx, String data)
Undocumented in source. Be warned that the author may not have intended to support it.
set
void set(size_t idx, T data)
Undocumented in source. Be warned that the author may not have intended to support it.
size
size_t size()
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

Range
struct Range

Slice-like view of the PoolArray TODO: implement this with Read/Write?

Meta