Skip to main content

IClampedIntParameterMethods

Trait IClampedIntParameterMethods 

Source
pub trait IClampedIntParameterMethods: IClampedIntParameter {
    // Provided methods
    fn get_value(self) -> i32 { ... }
    fn set_value(self, value: impl Into<i32>) { ... }
    fn ctor(
        self,
        value: impl Into<i32>,
        min: impl Into<i32>,
        max: impl Into<i32>,
        override_state: impl Into<bool>,
    ) { ... }
}

Provided Methods§

Source

fn get_value(self) -> i32

get_value() overload

Source

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

set_value(i32) overload

Source

fn ctor( self, value: impl Into<i32>, min: impl Into<i32>, max: impl Into<i32>, override_state: impl Into<bool>, )

.ctor(i32, i32, i32, 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: IClampedIntParameter> IClampedIntParameterMethods for __T

Available on crate feature unity_engine-rendering-clampedintparameter only.