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§
Sourcefn set_header(self, value: impl Into<Il2CppString>)
fn set_header(self, value: impl Into<Il2CppString>)
set_Header(::unity::Il2CppString) overload
Sourcefn set_intermediate_scripting_struct_name(self, value: impl Into<Il2CppString>)
fn set_intermediate_scripting_struct_name(self, value: impl Into<Il2CppString>)
set_IntermediateScriptingStructName(::unity::Il2CppString) overload
Sourcefn set_codegen_options(self, value: impl Into<CodegenOptions>)
fn set_codegen_options(self, value: impl Into<CodegenOptions>)
set_CodegenOptions(crate::unity_engine::bindings::codegenoptions::CodegenOptions) overload
Sourcefn ctor_2(self, codegen_options: impl Into<CodegenOptions>)
fn ctor_2(self, codegen_options: impl Into<CodegenOptions>)
.ctor(crate::unity_engine::bindings::codegenoptions::CodegenOptions) overload
Sourcefn ctor_3(self, header: impl Into<Il2CppString>)
fn ctor_3(self, header: impl Into<Il2CppString>)
.ctor(::unity::Il2CppString) overload
Sourcefn ctor_4(
self,
codegen_options: impl Into<CodegenOptions>,
intermediate_struct_name: impl Into<Il2CppString>,
)
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§
impl<__T: INativeTypeAttribute> INativeTypeAttributeMethods for __T
Available on crate feature
unity_engine-bindings-nativetypeattribute only.