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§
Sourcefn ctor_2(
self,
capacity: impl Into<i32>,
equality_comparer: impl Into<IEqualityComparer>,
)
fn ctor_2( self, capacity: impl Into<i32>, equality_comparer: impl Into<IEqualityComparer>, )
.ctor(i32, crate::system::collections::iequalitycomparer::IEqualityComparer) overload
Sourcefn invalidate_cached_arrays(self)
fn invalidate_cached_arrays(self)
InvalidateCachedArrays() overload
Sourcefn add(self, name: impl Into<Il2CppString>, value: impl Into<Il2CppString>)
fn add(self, name: impl Into<Il2CppString>, value: impl Into<Il2CppString>)
Add(::unity::Il2CppString, ::unity::Il2CppString) overload
Sourcefn get(self, name: impl Into<Il2CppString>) -> Il2CppString
fn get(self, name: impl Into<Il2CppString>) -> Il2CppString
Get(::unity::Il2CppString) overload
Sourcefn get_values(self, name: impl Into<Il2CppString>) -> Array<Il2CppString>
fn get_values(self, name: impl Into<Il2CppString>) -> Array<Il2CppString>
GetValues(::unity::Il2CppString) overload
Sourcefn set(self, name: impl Into<Il2CppString>, value: impl Into<Il2CppString>)
fn set(self, name: impl Into<Il2CppString>, value: impl Into<Il2CppString>)
Set(::unity::Il2CppString, ::unity::Il2CppString) overload
Sourcefn remove(self, name: impl Into<Il2CppString>)
fn remove(self, name: impl Into<Il2CppString>)
Remove(::unity::Il2CppString) overload
Sourcefn get_item(self, name: impl Into<Il2CppString>) -> Il2CppString
fn get_item(self, name: impl Into<Il2CppString>) -> Il2CppString
get_Item(::unity::Il2CppString) overload
Sourcefn set_item(self, name: impl Into<Il2CppString>, value: impl Into<Il2CppString>)
fn set_item(self, name: impl Into<Il2CppString>, value: impl Into<Il2CppString>)
set_Item(::unity::Il2CppString, ::unity::Il2CppString) overload
Sourcefn get_2(self, index: impl Into<i32>) -> Il2CppString
fn get_2(self, index: impl Into<i32>) -> Il2CppString
Get(i32) overload
Sourcefn get_key(self, index: impl Into<i32>) -> Il2CppString
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§
impl<__T: INameValueCollection> INameValueCollectionMethods for __T
Available on crate feature
system-collections-specialized-namevaluecollection only.