Struct glib::ParamSpecBooleanBuilder
source · [−]pub struct ParamSpecBooleanBuilder<'a> { /* private fields */ }
Implementations
sourceimpl<'a> ParamSpecBooleanBuilder<'a>
impl<'a> ParamSpecBooleanBuilder<'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: bool) -> Self
pub fn default_value(self, value: bool) -> Self
Default: false
pub fn build(self) -> ParamSpec
Trait Implementations
sourceimpl<'a> Default for ParamSpecBooleanBuilder<'a>
impl<'a> Default for ParamSpecBooleanBuilder<'a>
sourcefn default() -> ParamSpecBooleanBuilder<'a>
fn default() -> ParamSpecBooleanBuilder<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl<'a> RefUnwindSafe for ParamSpecBooleanBuilder<'a>
impl<'a> Send for ParamSpecBooleanBuilder<'a>
impl<'a> Sync for ParamSpecBooleanBuilder<'a>
impl<'a> Unpin for ParamSpecBooleanBuilder<'a>
impl<'a> UnwindSafe for ParamSpecBooleanBuilder<'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