#[repr(C)]pub struct _GParamSpecFloat {
pub parent_instance: GParamSpec,
pub minimum: gfloat,
pub maximum: gfloat,
pub default_value: gfloat,
pub epsilon: gfloat,
}
Expand description
GParamSpecFloat: @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-30.
A #GParamSpec derived structure that contains the meta data for float properties.
Fields§
§parent_instance: GParamSpec
§minimum: gfloat
§maximum: gfloat
§default_value: gfloat
§epsilon: gfloat
Trait Implementations§
Source§impl Clone for _GParamSpecFloat
impl Clone for _GParamSpecFloat
Source§fn clone(&self) -> _GParamSpecFloat
fn clone(&self) -> _GParamSpecFloat
Returns a copy 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 moreSource§impl Debug for _GParamSpecFloat
impl Debug for _GParamSpecFloat
Source§impl PartialEq for _GParamSpecFloat
impl PartialEq for _GParamSpecFloat
impl Copy for _GParamSpecFloat
impl StructuralPartialEq for _GParamSpecFloat
Auto Trait Implementations§
impl Freeze for _GParamSpecFloat
impl RefUnwindSafe for _GParamSpecFloat
impl !Send for _GParamSpecFloat
impl !Sync for _GParamSpecFloat
impl Unpin for _GParamSpecFloat
impl UnwindSafe for _GParamSpecFloat
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more