[−][src]Trait nuki::property_sheet::PropertyNumber
Numberic Property.
Required methods
pub fn range(&self) -> (T, T)
[src]
Returns the min/max range of the property value.
pub fn step(&self) -> T
[src]
Returns the increase/decrease step of the property value.
pub fn step_forward(&self) -> T
[src]
Increase the value of the property by step and return the new value.
pub fn step_backward(&self) -> T
[src]
Decrease the value of the property by step and return the new value.
pub fn def_val(&self) -> T
[src]
Returns the default value of the property.
pub fn value(&self) -> T
[src]
Returns the value of the property.
pub fn value_mut(&self) -> &mut T
[src]
Returns the mutable reference of the property value.
pub unsafe fn value_mut_ptr(&self) -> *mut T
[src]
Returns the mutable raw pointer of the property value.
Safety
pub fn set_value(&self, value: T) -> T
[src]
Change the value of the property.