pub trait INativeMethodAttributeMethods: INativeMethodAttribute {
// Provided methods
fn set_name(self, value: impl Into<Il2CppString>) { ... }
fn set_is_thread_safe(self, value: impl Into<bool>) { ... }
fn set_is_free_function(self, value: impl Into<bool>) { ... }
fn set_throws_exception(self, value: impl Into<bool>) { ... }
fn set_has_explicit_this(self, value: impl Into<bool>) { ... }
fn ctor(self) { ... }
fn ctor_2(self, name: impl Into<Il2CppString>) { ... }
fn ctor_3(
self,
name: impl Into<Il2CppString>,
is_free_function: impl Into<bool>,
) { ... }
fn ctor_4(
self,
name: impl Into<Il2CppString>,
is_free_function: impl Into<bool>,
is_thread_safe: impl Into<bool>,
) { ... }
}Provided Methods§
Sourcefn set_name(self, value: impl Into<Il2CppString>)
fn set_name(self, value: impl Into<Il2CppString>)
set_Name(::unity::Il2CppString) overload
Sourcefn set_is_thread_safe(self, value: impl Into<bool>)
fn set_is_thread_safe(self, value: impl Into<bool>)
set_IsThreadSafe(bool) overload
Sourcefn set_is_free_function(self, value: impl Into<bool>)
fn set_is_free_function(self, value: impl Into<bool>)
set_IsFreeFunction(bool) overload
Sourcefn set_throws_exception(self, value: impl Into<bool>)
fn set_throws_exception(self, value: impl Into<bool>)
set_ThrowsException(bool) overload
Sourcefn set_has_explicit_this(self, value: impl Into<bool>)
fn set_has_explicit_this(self, value: impl Into<bool>)
set_HasExplicitThis(bool) overload
Sourcefn ctor_2(self, name: impl Into<Il2CppString>)
fn ctor_2(self, name: impl Into<Il2CppString>)
.ctor(::unity::Il2CppString) overload
Sourcefn ctor_3(
self,
name: impl Into<Il2CppString>,
is_free_function: impl Into<bool>,
)
fn ctor_3( self, name: impl Into<Il2CppString>, is_free_function: impl Into<bool>, )
.ctor(::unity::Il2CppString, bool) overload
Sourcefn ctor_4(
self,
name: impl Into<Il2CppString>,
is_free_function: impl Into<bool>,
is_thread_safe: impl Into<bool>,
)
fn ctor_4( self, name: impl Into<Il2CppString>, is_free_function: impl Into<bool>, is_thread_safe: impl Into<bool>, )
.ctor(::unity::Il2CppString, bool, bool) 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: INativeMethodAttribute> INativeMethodAttributeMethods for __T
Available on crate feature
unity_engine-bindings-nativemethodattribute only.