Struct glib::ParamSpecFloatBuilder
source · [−]pub struct ParamSpecFloatBuilder<'a> { /* private fields */ }
Implementations
Trait Implementations
sourceimpl<'a> Default for ParamSpecFloatBuilder<'a>
impl<'a> Default for ParamSpecFloatBuilder<'a>
sourcefn default() -> ParamSpecFloatBuilder<'a>
fn default() -> ParamSpecFloatBuilder<'a>
Returns the “default value” for a type. Read more
sourceimpl<'a> ParamSpecBuilderExt<'a> for ParamSpecFloatBuilder<'a>
impl<'a> ParamSpecBuilderExt<'a> for ParamSpecFloatBuilder<'a>
sourcefn set_flags(&mut self, flags: ParamFlags)
fn set_flags(&mut self, flags: ParamFlags)
Implementation detail.
sourcefn current_flags(&self) -> ParamFlags
fn current_flags(&self) -> ParamFlags
Implementation detail.
sourcefn nick(self, nick: &'a str) -> Self
fn nick(self, nick: &'a str) -> Self
By default, the nickname of its redirect target will be used if it has one.
Otherwise,
self.name
will be used. Read moresourcefn flags(self, flags: ParamFlags) -> Self
fn flags(self, flags: ParamFlags) -> Self
Default:
glib::ParamFlags::READWRITE
sourcefn read_only(self) -> Self
fn read_only(self) -> Self
Mark the property as read only and drops the READWRITE flag set by default.
sourcefn write_only(self) -> Self
fn write_only(self) -> Self
Mark the property as write only and drops the READWRITE flag set by default.
sourcefn construct_only(self) -> Self
fn construct_only(self) -> Self
Mark the property as construct only
sourcefn lax_validation(self) -> Self
fn lax_validation(self) -> Self
Mark the property as lax validation
sourcefn explicit_notify(self) -> Self
fn explicit_notify(self) -> Self
Mark the property as explicit notify
sourcefn deprecated(self) -> Self
fn deprecated(self) -> Self
Mark the property as deprecated
Auto Trait Implementations
impl<'a> RefUnwindSafe for ParamSpecFloatBuilder<'a>
impl<'a> Send for ParamSpecFloatBuilder<'a>
impl<'a> Sync for ParamSpecFloatBuilder<'a>
impl<'a> Unpin for ParamSpecFloatBuilder<'a>
impl<'a> UnwindSafe for ParamSpecFloatBuilder<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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