Skip to main content

INativeTypeAttributeMethods

Trait INativeTypeAttributeMethods 

Source
pub trait INativeTypeAttributeMethods: INativeTypeAttribute {
    // Provided methods
    fn set_header(self, value: impl Into<Il2CppString>) { ... }
    fn set_intermediate_scripting_struct_name(
        self,
        value: impl Into<Il2CppString>,
    ) { ... }
    fn set_codegen_options(self, value: impl Into<CodegenOptions>) { ... }
    fn ctor(self) { ... }
    fn ctor_2(self, codegen_options: impl Into<CodegenOptions>) { ... }
    fn ctor_3(self, header: impl Into<Il2CppString>) { ... }
    fn ctor_4(
        self,
        codegen_options: impl Into<CodegenOptions>,
        intermediate_struct_name: impl Into<Il2CppString>,
    ) { ... }
}

Provided Methods§

Source

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

set_Header(::unity::Il2CppString) overload

Source

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

set_IntermediateScriptingStructName(::unity::Il2CppString) overload

Source

fn set_codegen_options(self, value: impl Into<CodegenOptions>)

set_CodegenOptions(crate::unity_engine::bindings::codegenoptions::CodegenOptions) overload

Source

fn ctor(self)

.ctor() overload

Source

fn ctor_2(self, codegen_options: impl Into<CodegenOptions>)

.ctor(crate::unity_engine::bindings::codegenoptions::CodegenOptions) overload

Source

fn ctor_3(self, header: impl Into<Il2CppString>)

.ctor(::unity::Il2CppString) overload

Source

fn ctor_4( self, codegen_options: impl Into<CodegenOptions>, intermediate_struct_name: impl Into<Il2CppString>, )

.ctor(crate::unity_engine::bindings::codegenoptions::CodegenOptions, ::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: INativeTypeAttribute> INativeTypeAttributeMethods for __T

Available on crate feature unity_engine-bindings-nativetypeattribute only.