Struct glib::ParamSpecIntBuilder
source · pub struct ParamSpecIntBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> ParamSpecIntBuilder<'a>
impl<'a> ParamSpecIntBuilder<'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: i32) -> Self
pub fn default_value(self, value: i32) -> Self
Default: <i32 as Default>::default()
pub fn build(self) -> ParamSpec
Trait Implementations§
source§impl<'a> Default for ParamSpecIntBuilder<'a>
impl<'a> Default for ParamSpecIntBuilder<'a>
source§fn default() -> ParamSpecIntBuilder<'a>
fn default() -> ParamSpecIntBuilder<'a>
Returns the “default value” for a type. Read more