pub fn insert<K, V>(&self, key: K, val: V)
    where
        K: OwnedToVariant + ToVariantEq,
        V: OwnedToVariant,
    {
        unsafe {
            (get_api().godot_dictionary_set)(
                self.sys_mut(),
                key.owned_to_variant().sys(),
                val.owned_to_variant().sys(),
            )
        }
    }
/// Inserts or updates the value of the element corresponding to the key.
Inserts or updates the value of the element corresponding to the key.
Inserts or updates the value of the element corresponding to the key .
pub fn insert<K, V>(&self, key: K, val: V)
    where
        K: OwnedToVariant + ToVariantEq,
        V: OwnedToVariant,
    {
        unsafe {
            (get_api().godot_dictionary_set)(
                self.sys_mut(),
                key.owned_to_variant().sys(),
                val.owned_to_variant().sys(),
            )
        }
    }
pub fn insert < K , V > ( & self , key : K , val : V ) where K : OwnedToVariant + ToVariantEq , V : OwnedToVariant , { unsafe { ( get_api ( ) . godot_dictionary_set ) ( self . sys_mut ( ) , key . owned_to_variant ( ) . sys ( ) , val . owned_to_variant ( ) . sys ( ) , ) } }
Inserts or updates the value of the element corresponding to the key.
Inserts or updates the value of the element corresponding to the key .
&self
key
K
val
V