Skip to main content

IVariableCommandMethods

Trait IVariableCommandMethods 

Source
pub trait IVariableCommandMethods: IVariableCommand {
    // Provided methods
    fn ctor(self, name: impl Into<Il2CppString>, value: impl Into<f32>) { ... }
    fn get_name(self) -> Il2CppString { ... }
    fn get(self) -> f32 { ... }
    fn set(self, value: impl Into<f32>) { ... }
}

Provided Methods§

Source

fn ctor(self, name: impl Into<Il2CppString>, value: impl Into<f32>)

.ctor(::unity::Il2CppString, f32) overload

Source

fn get_name(self) -> Il2CppString

get_Name() overload

Source

fn get(self) -> f32

Get() overload

Source

fn set(self, value: impl Into<f32>)

Set(f32) 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: IVariableCommand> IVariableCommandMethods for __T

Available on crate feature app-variablecommand only.