Struct gdnative::Vector2Array [] [src]

pub struct Vector2Array(_);

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

Methods

impl Vector2Array
[src]

[src]

Creates an empty array.

[src]

Creates an array by trying to convert each variant

See Variant::to_vector2.

[src]

Appends a vector to the end of the array.

[src]

Appends each vector to the end of the array.

[src]

Inserts a vector at the given offset.

[src]

Inverts the order of the elements in the array.

[src]

Removes an element at the given offset.

[src]

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

[src]

Returns a copy of the element at the given offset.

[src]

Sets the value of the element at the given offset.

[src]

Returns the number of elements in the array.

[src]

Trait Implementations

impl<'l> From<&'l Vector2Array> for Variant
[src]

[src]

Performs the conversion.

impl Drop for Vector2Array
[src]

[src]

Executes the destructor for this type. Read more

impl Default for Vector2Array
[src]

[src]

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

impl GodotType for Vector2Array
[src]

[src]

[src]

[src]

Auto Trait Implementations

impl Send for Vector2Array

impl Sync for Vector2Array