Struct glib::ParamSpecFlagsBuilder
source · pub struct ParamSpecFlagsBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'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§
source§impl<'a> Default for ParamSpecFlagsBuilder<'a>
impl<'a> Default for ParamSpecFlagsBuilder<'a>
source§fn default() -> ParamSpecFlagsBuilder<'a>
fn default() -> ParamSpecFlagsBuilder<'a>
Returns the “default value” for a type. Read more