Skip to main content

INativeNameAttributeMethods

Trait INativeNameAttributeMethods 

Source
pub trait INativeNameAttributeMethods: INativeNameAttribute {
    // Provided methods
    fn set_name(self, value: impl Into<Il2CppString>) { ... }
    fn ctor(self, name: impl Into<Il2CppString>) { ... }
}

Provided Methods§

Source

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

set_Name(::unity::Il2CppString) overload

Source

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

.ctor(::unity::Il2CppString) 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: INativeNameAttribute> INativeNameAttributeMethods for __T

Available on crate feature unity_engine-bindings-nativenameattribute only.