pub trait INativePropertyAttributeMethods: INativePropertyAttribute {
// Provided methods
fn set_target_type(self, value: impl Into<TargetType>) { ... }
fn ctor(self) { ... }
fn ctor_2(self, name: impl Into<Il2CppString>) { ... }
fn ctor_3(
self,
name: impl Into<Il2CppString>,
is_free: impl Into<bool>,
target_type: impl Into<TargetType>,
) { ... }
}Provided Methods§
Sourcefn set_target_type(self, value: impl Into<TargetType>)
fn set_target_type(self, value: impl Into<TargetType>)
set_TargetType(crate::unity_engine::bindings::targettype::TargetType) 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: impl Into<bool>,
target_type: impl Into<TargetType>,
)
fn ctor_3( self, name: impl Into<Il2CppString>, is_free: impl Into<bool>, target_type: impl Into<TargetType>, )
.ctor(::unity::Il2CppString, bool, crate::unity_engine::bindings::targettype::TargetType) 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: INativePropertyAttribute> INativePropertyAttributeMethods for __T
Available on crate feature
unity_engine-bindings-nativepropertyattribute only.