Struct gdnative_visual_script::common::Int32Array[]

pub struct Int32Array(_);

A reference-counted vector of i32 that uses Godot's pool allocator.

Methods

impl Int32Array

Creates an empty Int32Array.

Creates an array by trying to convert each variant.

See Variant::to_int32_array.

Appends an element at the end of the array.

Appends an Int32Array at the end of this array.

Insert a new int at a given position in the array.

Inverts the order of the elements in the array.

Removes an element at the given offset.

Changes the size of the array, possibly removing elements or pushing default values.

Returns a copy of the element at the given offset.

Sets the value of the element at the given offset.

Returns the number of elements in the array.

Trait Implementations

impl ToVariant for Int32Array

impl<'l> From<&'l Int32Array> for Variant

Performs the conversion.

impl Default for Int32Array

Returns the "default value" for a type. Read more

impl Drop for Int32Array

Executes the destructor for this type. Read more

Auto Trait Implementations

impl Send for Int32Array

impl Sync for Int32Array