Skip to main content

INameValueCollectionMethods

Trait INameValueCollectionMethods 

Source
pub trait INameValueCollectionMethods: INameValueCollection {
    // Provided methods
    fn ctor(self) { ... }
    fn ctor_2(
        self,
        capacity: impl Into<i32>,
        equality_comparer: impl Into<IEqualityComparer>,
    ) { ... }
    fn invalidate_cached_arrays(self) { ... }
    fn add(self, name: impl Into<Il2CppString>, value: impl Into<Il2CppString>) { ... }
    fn get(self, name: impl Into<Il2CppString>) -> Il2CppString { ... }
    fn get_values(self, name: impl Into<Il2CppString>) -> Array<Il2CppString> { ... }
    fn set(self, name: impl Into<Il2CppString>, value: impl Into<Il2CppString>) { ... }
    fn remove(self, name: impl Into<Il2CppString>) { ... }
    fn get_item(self, name: impl Into<Il2CppString>) -> Il2CppString { ... }
    fn set_item(
        self,
        name: impl Into<Il2CppString>,
        value: impl Into<Il2CppString>,
    ) { ... }
    fn get_2(self, index: impl Into<i32>) -> Il2CppString { ... }
    fn get_key(self, index: impl Into<i32>) -> Il2CppString { ... }
}

Provided Methods§

Source

fn ctor(self)

.ctor() overload

Source

fn ctor_2( self, capacity: impl Into<i32>, equality_comparer: impl Into<IEqualityComparer>, )

.ctor(i32, crate::system::collections::iequalitycomparer::IEqualityComparer) overload

Source

fn invalidate_cached_arrays(self)

InvalidateCachedArrays() overload

Source

fn add(self, name: impl Into<Il2CppString>, value: impl Into<Il2CppString>)

Add(::unity::Il2CppString, ::unity::Il2CppString) overload

Source

fn get(self, name: impl Into<Il2CppString>) -> Il2CppString

Get(::unity::Il2CppString) overload

Source

fn get_values(self, name: impl Into<Il2CppString>) -> Array<Il2CppString>

GetValues(::unity::Il2CppString) overload

Source

fn set(self, name: impl Into<Il2CppString>, value: impl Into<Il2CppString>)

Set(::unity::Il2CppString, ::unity::Il2CppString) overload

Source

fn remove(self, name: impl Into<Il2CppString>)

Remove(::unity::Il2CppString) overload

Source

fn get_item(self, name: impl Into<Il2CppString>) -> Il2CppString

get_Item(::unity::Il2CppString) overload

Source

fn set_item(self, name: impl Into<Il2CppString>, value: impl Into<Il2CppString>)

set_Item(::unity::Il2CppString, ::unity::Il2CppString) overload

Source

fn get_2(self, index: impl Into<i32>) -> Il2CppString

Get(i32) overload

Source

fn get_key(self, index: impl Into<i32>) -> Il2CppString

GetKey(i32) overload

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<__T: INameValueCollection> INameValueCollectionMethods for __T

Available on crate feature system-collections-specialized-namevaluecollection only.