Struct gdnative_physics::common::Dictionary[]

pub struct Dictionary(_);

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

Methods

impl Dictionary

Creates an empty Dictionary.

Returns true if the Dictionary contains no elements.

Returns the number of elements in the Dictionary.

Clears the Dictionary, removing all key-value pairs.

Returns true if the Dictionary contains the specified key.

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

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

Returns a copy of the value corresponding to the key.

Sets a value to the element corresponding to the key.

Returns a reference to the value corresponding to the key.

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

Returns a GodotString of the Dictionary.

Returns an array of the keys in the Dictionary.

Returns an array of the values in the Dictionary.

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

Trait Implementations

impl ToVariant for Dictionary

impl Debug for Dictionary

Formats the value using the given formatter. Read more

impl<'l> From<&'l Dictionary> for Variant

Performs the conversion.

impl Default for Dictionary

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

impl Eq for Dictionary

impl Drop for Dictionary

Executes the destructor for this type. Read more

impl PartialEq<Dictionary> for Dictionary

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

This method tests for !=.

Auto Trait Implementations

impl Send for Dictionary

impl Sync for Dictionary