Type Alias GParamSpecDouble

Source
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

Source§

fn clone(&self) -> _GParamSpecDouble

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for _GParamSpecDouble

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl PartialEq for _GParamSpecDouble

Source§

fn eq(&self, other: &_GParamSpecDouble) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Copy for _GParamSpecDouble

Source§

impl StructuralPartialEq for _GParamSpecDouble