Struct gdnative_core::Vector2Array[][src]

pub struct Vector2Array(_);

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

Methods

impl Vector2Array
[src]

Creates an empty array.

Creates an array by trying to convert each variant

See Variant::to_vector2.

Appends a vector to the end of the array.

Appends each vector to the end of the array.

Inserts a vector at the given offset.

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<'l> From<&'l Vector2Array> for Variant
[src]

Performs the conversion.

impl Drop for Vector2Array
[src]

Executes the destructor for this type. Read more

impl Default for Vector2Array
[src]

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

impl ToVariant for Vector2Array
[src]

Auto Trait Implementations