Struct gdnative::StringArray [] [src]

pub struct StringArray(_);

A vector of GodotString that uses Godot's pool allocator.

Methods

impl StringArray
[src]

[src]

Creates an empty StringArray.

[src]

Creates an array by trying to convert each variant.

See Variant::to_string_array.

[src]

Appends an element at the end of the array.

[src]

Appends a StringArray at the end of this array.

[src]

Insert a new GodotString 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 Drop for StringArray
[src]

[src]

Executes the destructor for this type. Read more

impl Default for StringArray
[src]

[src]

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

impl GodotType for StringArray
[src]

[src]

[src]

[src]

Auto Trait Implementations

impl Send for StringArray

impl Sync for StringArray