Skip to main content

INativeConditionalAttributeMethods

Trait INativeConditionalAttributeMethods 

Source
pub trait INativeConditionalAttributeMethods: INativeConditionalAttribute {
    // Provided methods
    fn set_condition(self, value: impl Into<Il2CppString>) { ... }
    fn set_stub_return_statement(self, value: impl Into<Il2CppString>) { ... }
    fn set_enabled(self, value: impl Into<bool>) { ... }
    fn ctor(self, condition: impl Into<Il2CppString>) { ... }
    fn ctor_2(
        self,
        condition: impl Into<Il2CppString>,
        stub_return_statement: impl Into<Il2CppString>,
    ) { ... }
}

Provided Methods§

Source

fn set_condition(self, value: impl Into<Il2CppString>)

set_Condition(::unity::Il2CppString) overload

Source

fn set_stub_return_statement(self, value: impl Into<Il2CppString>)

set_StubReturnStatement(::unity::Il2CppString) overload

Source

fn set_enabled(self, value: impl Into<bool>)

set_Enabled(bool) overload

Source

fn ctor(self, condition: impl Into<Il2CppString>)

.ctor(::unity::Il2CppString) overload

Source

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

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

Source§

impl<__T: INativeConditionalAttribute> INativeConditionalAttributeMethods for __T

Available on crate feature unity_engine-bindings-nativeconditionalattribute only.