Skip to main content

INativeClassAttributeMethods

Trait INativeClassAttributeMethods 

Source
pub trait INativeClassAttributeMethods: INativeClassAttribute {
    // Provided methods
    fn set_qualified_native_name(self, value: impl Into<Il2CppString>) { ... }
    fn set_declaration(self, value: impl Into<Il2CppString>) { ... }
    fn ctor(self, qualified_cpp_name: impl Into<Il2CppString>) { ... }
    fn ctor_2(
        self,
        qualified_cpp_name: impl Into<Il2CppString>,
        declaration: impl Into<Il2CppString>,
    ) { ... }
}

Provided Methods§

Source

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

set_QualifiedNativeName(::unity::Il2CppString) overload

Source

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

set_Declaration(::unity::Il2CppString) overload

Source

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

.ctor(::unity::Il2CppString) overload

Source

fn ctor_2( self, qualified_cpp_name: impl Into<Il2CppString>, declaration: impl Into<Il2CppString>, )

.ctor(::unity::Il2CppString, ::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: INativeClassAttribute> INativeClassAttributeMethods for __T

Available on crate feature unity_engine-nativeclassattribute only.