Skip to main content

IPlayerPrefs_FloatMethods

Trait IPlayerPrefs_FloatMethods 

Source
pub trait IPlayerPrefs_FloatMethods: IPlayerPrefs_Float {
    // Provided methods
    fn ctor(self, name: impl Into<Il2CppString>) { ... }
    fn get_value(self) -> f32 { ... }
    fn set_value(self, value: impl Into<f32>) { ... }
}

Provided Methods§

Source

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

.ctor(::unity::Il2CppString) overload

Source

fn get_value(self) -> f32

get_Value() overload

Source

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

set_Value(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: IPlayerPrefs_Float> IPlayerPrefs_FloatMethods for __T

Available on crate feature combat-playerprefs_float only.