pub type GParamSpecDouble = _GParamSpecDouble;
Expand description
GParamSpecDouble: @parent_instance: private #GParamSpec portion @minimum: minimum value for the property specified @maximum: maximum value for the property specified @default_value: default value for the property specified @epsilon: values closer than @epsilon will be considered identical by g_param_values_cmp(); the default value is 1e-90.
A #GParamSpec derived structure that contains the meta data for double properties.
Aliased Type§
#[repr(C)]pub struct GParamSpecDouble {
pub parent_instance: _GParamSpec,
pub minimum: f64,
pub maximum: f64,
pub default_value: f64,
pub epsilon: f64,
}
Fields§
§parent_instance: _GParamSpec
§minimum: f64
§maximum: f64
§default_value: f64
§epsilon: f64
Trait Implementations
Source§impl Clone for _GParamSpecDouble
impl Clone for _GParamSpecDouble
Source§fn clone(&self) -> _GParamSpecDouble
fn clone(&self) -> _GParamSpecDouble
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more