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