Struct gdnative::ColorArray [] [src]

pub struct ColorArray(_);

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

Methods

impl ColorArray
[src]

[src]

Creates an empty ColorArray.

[src]

Creates an array by trying to convert each variant.

See Variant::to_color_array.

[src]

Appends an element at the end of the array

[src]

Appends a ColorArray at the end of this array.

[src]

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

[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 ColorArray> for Variant
[src]

[src]

Performs the conversion.

impl Drop for ColorArray
[src]

[src]

Executes the destructor for this type. Read more

impl Default for ColorArray
[src]

[src]

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

impl GodotType for ColorArray
[src]

[src]

[src]

[src]

Auto Trait Implementations

impl Send for ColorArray

impl Sync for ColorArray