Struct gdnative::Dictionary [] [src]

pub struct Dictionary(_);

A reference-counted Dictionary of Variant key-value pairs.

Methods

impl Dictionary
[src]

[src]

Creates an empty Dictionary.

[src]

Returns true if the Dictionary contains no elements.

[src]

Returns the number of elements in the Dictionary.

[src]

Clears the Dictionary, removing all key-value pairs.

[src]

Returns true if the Dictionary contains the specified key.

[src]

Returns true if the Dictionary has all of the keys in the given array.

[src]

Erase a key-value pair in the Dictionary by the specified key.

[src]

Returns a copy of the value corresponding to the key.

[src]

Sets a value to the element corresponding to the key.

[src]

Returns a reference to the value corresponding to the key.

[src]

Returns a mutable reference to the value corresponding to the key.

[src]

Returns a GodotString of the Dictionary.

[src]

Returns an array of the keys in the Dictionary.

[src]

Returns an array of the values in the Dictionary.

[src]

[src]

Return a hashed i32 value representing the dictionary's contents.

[src]

Trait Implementations

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

[src]

Performs the conversion.

impl Drop for Dictionary
[src]

[src]

Executes the destructor for this type. Read more

impl Default for Dictionary
[src]

[src]

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

impl PartialEq for Dictionary
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl Eq for Dictionary
[src]

impl GodotType for Dictionary
[src]

[src]

[src]

[src]

impl Debug for Dictionary
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Dictionary

impl Sync for Dictionary