Struct glib::ParamSpecDoubleBuilder
source · [−]pub struct ParamSpecDoubleBuilder<'a> { /* private fields */ }
Implementations
sourceimpl<'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
sourceimpl<'a> Default for ParamSpecDoubleBuilder<'a>
impl<'a> Default for ParamSpecDoubleBuilder<'a>
sourcefn default() -> ParamSpecDoubleBuilder<'a>
fn default() -> ParamSpecDoubleBuilder<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl<'a> RefUnwindSafe for ParamSpecDoubleBuilder<'a>
impl<'a> Send for ParamSpecDoubleBuilder<'a>
impl<'a> Sync for ParamSpecDoubleBuilder<'a>
impl<'a> Unpin for ParamSpecDoubleBuilder<'a>
impl<'a> UnwindSafe for ParamSpecDoubleBuilder<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more