Skip to main content

IKeyValuePair_2Methods

Trait IKeyValuePair_2Methods 

Source
pub trait IKeyValuePair_2Methods<T0: ClassIdentity, T1: ClassIdentity>: ClassIdentity {
    // Provided methods
    fn ctor(self, key: T0, value: T1)
       where Self: Sized { ... }
    fn get_key(self) -> T0
       where Self: Sized { ... }
    fn get_value(self) -> T1
       where Self: Sized { ... }
    fn to_string(self) -> Il2CppString
       where Self: Sized { ... }
}

Provided Methods§

Source

fn ctor(self, key: T0, value: T1)
where Self: Sized,

Source

fn get_key(self) -> T0
where Self: Sized,

Source

fn get_value(self) -> T1
where Self: Sized,

Source

fn to_string(self) -> Il2CppString
where Self: Sized,

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§