Skip to main content

IFreeFunctionAttributeMethods

Trait IFreeFunctionAttributeMethods 

Source
pub trait IFreeFunctionAttributeMethods: IFreeFunctionAttribute {
    // Provided methods
    fn ctor(self) { ... }
    fn ctor_2(self, name: impl Into<Il2CppString>) { ... }
    fn ctor_3(
        self,
        name: impl Into<Il2CppString>,
        is_thread_safe: impl Into<bool>,
    ) { ... }
}

Provided Methods§

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_thread_safe: impl Into<bool>)

.ctor(::unity::Il2CppString, 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§

Source§

impl<__T: IFreeFunctionAttribute> IFreeFunctionAttributeMethods for __T

Available on crate feature unity_engine-bindings-freefunctionattribute only.