Skip to main content

IDefaultValueAttributeMethods

Trait IDefaultValueAttributeMethods 

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

Provided Methods§

Source

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

.ctor(::unity::Il2CppString) overload

Source

fn get_value(self) -> Object

get_Value() 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

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: IDefaultValueAttribute> IDefaultValueAttributeMethods for __T

Available on crate feature unity_engine-internal-defaultvalueattribute only.