Struct gdnative_core::ColorArray[][src]

pub struct ColorArray(_);

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

Methods

impl ColorArray
[src]

Creates an empty ColorArray.

Creates an array by trying to convert each variant.

See Variant::to_color_array.

Appends an element at the end of the array

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

Performs the conversion.

impl Drop for ColorArray
[src]

Executes the destructor for this type. Read more

impl Default for ColorArray
[src]

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

impl ToVariant for ColorArray
[src]

Auto Trait Implementations

impl Send for ColorArray

impl Sync for ColorArray