Skip to main content

IValueTypeMethods

Trait IValueTypeMethods 

Source
pub trait IValueTypeMethods: IValueType {
    // Provided methods
    fn ctor(self) { ... }
    fn equals(self, obj: impl Into<Object>) -> bool { ... }
    fn get_hash_code(self) -> i32 { ... }
    fn to_string(self) -> Il2CppString { ... }
}

Provided Methods§

Source

fn ctor(self)

.ctor() overload

Source

fn equals(self, obj: impl Into<Object>) -> bool

Equals(crate::system::object::Object) overload

Source

fn get_hash_code(self) -> i32

GetHashCode() overload

Source

fn to_string(self) -> Il2CppString

ToString() 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: IValueType> IValueTypeMethods for __T

Available on crate feature system-valuetype only.