Struct gdnative_visual_script::common::Float32Array[]

pub struct Float32Array(_);

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

Methods

impl Float32Array

Creates an empty Float32Array.

Creates an array by trying to convert each variant.

See Variant::to_float32_array.

Appends an element at the end of the array.

Appends a Float32Array at the end of this array.

Insert a new f32 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 Float32Array

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

Performs the conversion.

impl Default for Float32Array

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

impl Drop for Float32Array

Executes the destructor for this type. Read more

Auto Trait Implementations