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