Struct glib::ParamSpecDoubleBuilder
source · pub struct ParamSpecDoubleBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> ParamSpecDoubleBuilder<'a>
impl<'a> ParamSpecDoubleBuilder<'a>
sourcepub fn flags(self, flags: ParamFlags) -> Self
pub fn flags(self, flags: ParamFlags) -> Self
Default: glib::ParamFlags::READWRITE
sourcepub fn default_value(self, value: f64) -> Self
pub fn default_value(self, value: f64) -> Self
Default: <f64 as Default>::default()
pub fn build(self) -> ParamSpec
Trait Implementations§
source§impl<'a> Default for ParamSpecDoubleBuilder<'a>
impl<'a> Default for ParamSpecDoubleBuilder<'a>
source§fn default() -> ParamSpecDoubleBuilder<'a>
fn default() -> ParamSpecDoubleBuilder<'a>
Returns the “default value” for a type. Read more