Skip to main content

INativePropertyAttributeMethods

Trait INativePropertyAttributeMethods 

Source
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§

Source

fn set_target_type(self, value: impl Into<TargetType>)

set_TargetType(crate::unity_engine::bindings::targettype::TargetType) overload

Source

fn ctor(self)

.ctor() overload

Source

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

.ctor(::unity::Il2CppString) overload

Source

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§

Source§

impl<__T: INativePropertyAttribute> INativePropertyAttributeMethods for __T

Available on crate feature unity_engine-bindings-nativepropertyattribute only.