Skip to content

NonDestructiveDynamicArray

Parameters

[T = Dynamic] 
graph BT
N1["NonDestructiveDynamicArray[T]"] -->|inherits| N2["UnpackableAT"];

Characteristics

Quality Value
Inherits UnpackableAT
Extends N/A
Decorators #Gambol.layout.c;
Is enum false
Is sealed false
Is extern false

Subscript

[s Self, index Len] -> @T

Methods

construct

construct (s Self, len Len = 0) -> Self

get_iterator

get_iterator (s Self) -> NonDestructiveDynamicArrayIterator[T]

get_element_ptr

#Gambol.function.alwaysinline
get_element_ptr (s Self, index Len) -> PointerToVariable[T]

get_element_ptr_unchecked

#Gambol.function.alwaysinline
get_element_ptr_unchecked (s Self, index ULen) -> PointerToVariable[T]

len

#Gambol.function.alwaysinline
#strict
len (s Self) -> Len

get_unchecked

#Gambol.function.alwaysinline
get_unchecked (s Self, index ULen) -> @T

set_unchecked

#Gambol.function.alwaysinline
set_unchecked (s Self, value T, index ULen) -> Nil

fill_with

fill_with (s Self, value T, range IndexRange) -> Nil

__resize

__resize (s Self, new_len Len) -> Nil

__allocate

__allocate (s Self, array_len Len) -> Nil

Binary Operators

=

#default
= (s Self, o Self) -> Self

Properties

__ptr

__ptr PointerToVariable[T]

__len

__len Len