Trait glib::HasParamSpec
source · pub trait HasParamSpec {
type ParamSpec;
type SetValue: ?Sized;
type BuilderFn;
// Required method
fn param_spec_builder() -> Self::BuilderFn;
}
Required Associated Types§
Required Methods§
fn param_spec_builder() -> Self::BuilderFn
Implementations on Foreign Types§
source§impl HasParamSpec for i32
impl HasParamSpec for i32
type ParamSpec = ParamSpecInt
type SetValue = i32
type BuilderFn = fn(_: &str) -> ParamSpecIntBuilder<'_>
fn param_spec_builder() -> Self::BuilderFn
source§impl HasParamSpec for u8
impl HasParamSpec for u8
type ParamSpec = ParamSpecUChar
type SetValue = u8
type BuilderFn = fn(_: &str) -> ParamSpecUCharBuilder<'_>
fn param_spec_builder() -> Self::BuilderFn
source§impl HasParamSpec for f32
impl HasParamSpec for f32
type ParamSpec = ParamSpecFloat
type SetValue = f32
type BuilderFn = fn(_: &str) -> ParamSpecFloatBuilder<'_>
fn param_spec_builder() -> Self::BuilderFn
source§impl HasParamSpec for f64
impl HasParamSpec for f64
type ParamSpec = ParamSpecDouble
type SetValue = f64
type BuilderFn = fn(_: &str) -> ParamSpecDoubleBuilder<'_>
fn param_spec_builder() -> Self::BuilderFn
source§impl HasParamSpec for Box<str>
impl HasParamSpec for Box<str>
type ParamSpec = ParamSpecString
type SetValue = str
type BuilderFn = fn(_: &str) -> ParamSpecStringBuilder<'_>
fn param_spec_builder() -> Self::BuilderFn
source§impl HasParamSpec for bool
impl HasParamSpec for bool
type ParamSpec = ParamSpecBoolean
type SetValue = bool
type BuilderFn = fn(_: &str) -> ParamSpecBooleanBuilder<'_>
fn param_spec_builder() -> Self::BuilderFn
source§impl HasParamSpec for i8
impl HasParamSpec for i8
type ParamSpec = ParamSpecChar
type SetValue = i8
type BuilderFn = fn(_: &str) -> ParamSpecCharBuilder<'_>
fn param_spec_builder() -> Self::BuilderFn
source§impl HasParamSpec for Path
impl HasParamSpec for Path
type ParamSpec = ParamSpecString
type SetValue = Path
type BuilderFn = fn(_: &str) -> ParamSpecStringBuilder<'_>
fn param_spec_builder() -> Self::BuilderFn
source§impl HasParamSpec for i64
impl HasParamSpec for i64
type ParamSpec = ParamSpecInt64
type SetValue = i64
type BuilderFn = fn(_: &str) -> ParamSpecInt64Builder<'_>
fn param_spec_builder() -> Self::BuilderFn
source§impl HasParamSpec for u64
impl HasParamSpec for u64
type ParamSpec = ParamSpecUInt64
type SetValue = u64
type BuilderFn = fn(_: &str) -> ParamSpecUInt64Builder<'_>
fn param_spec_builder() -> Self::BuilderFn
source§impl HasParamSpec for str
impl HasParamSpec for str
type ParamSpec = ParamSpecString
type SetValue = str
type BuilderFn = fn(_: &str) -> ParamSpecStringBuilder<'_>
fn param_spec_builder() -> Self::BuilderFn
source§impl HasParamSpec for char
impl HasParamSpec for char
source§impl<T: ToValueOptional + HasParamSpec> HasParamSpec for Option<T>
impl<T: ToValueOptional + HasParamSpec> HasParamSpec for Option<T>
type ParamSpec = <T as HasParamSpec>::ParamSpec
type SetValue = <T as HasParamSpec>::SetValue
type BuilderFn = <T as HasParamSpec>::BuilderFn
fn param_spec_builder() -> Self::BuilderFn
source§impl<T: HasParamSpec + ?Sized> HasParamSpec for &T
impl<T: HasParamSpec + ?Sized> HasParamSpec for &T
type ParamSpec = <T as HasParamSpec>::ParamSpec
type SetValue = <T as HasParamSpec>::SetValue
type BuilderFn = <T as HasParamSpec>::BuilderFn
fn param_spec_builder() -> Self::BuilderFn
source§impl HasParamSpec for u32
impl HasParamSpec for u32
type ParamSpec = ParamSpecUInt
type SetValue = u32
type BuilderFn = fn(_: &str) -> ParamSpecUIntBuilder<'_>
fn param_spec_builder() -> Self::BuilderFn
source§impl HasParamSpec for Vec<String>
impl HasParamSpec for Vec<String>
source§impl HasParamSpec for PathBuf
impl HasParamSpec for PathBuf
type ParamSpec = ParamSpecString
type SetValue = Path
type BuilderFn = fn(_: &str) -> ParamSpecStringBuilder<'_>
fn param_spec_builder() -> Self::BuilderFn
source§impl HasParamSpec for String
impl HasParamSpec for String
type ParamSpec = ParamSpecString
type SetValue = str
type BuilderFn = fn(_: &str) -> ParamSpecStringBuilder<'_>
fn param_spec_builder() -> Self::BuilderFn
Implementors§
source§impl HasParamSpec for Closure
impl HasParamSpec for Closure
source§impl HasParamSpec for StrV
impl HasParamSpec for StrV
source§impl HasParamSpec for Error
impl HasParamSpec for Error
source§impl HasParamSpec for InitiallyUnowned
impl HasParamSpec for InitiallyUnowned
type ParamSpec = ParamSpecObject
type SetValue = InitiallyUnowned
type BuilderFn = fn(_: &str) -> ParamSpecObjectBuilder<'_, InitiallyUnowned>
source§impl HasParamSpec for Object
impl HasParamSpec for Object
source§impl HasParamSpec for Binding
impl HasParamSpec for Binding
source§impl HasParamSpec for BindingFlags
impl HasParamSpec for BindingFlags
type ParamSpec = ParamSpecFlags
type SetValue = BindingFlags
type BuilderFn = fn(_: &str) -> ParamSpecFlagsBuilder<'_, BindingFlags>
source§impl HasParamSpec for BindingGroup
Available on crate feature v2_72
only.
impl HasParamSpec for BindingGroup
Available on crate feature
v2_72
only.type ParamSpec = ParamSpecObject
type SetValue = BindingGroup
type BuilderFn = fn(_: &str) -> ParamSpecObjectBuilder<'_, BindingGroup>
source§impl HasParamSpec for BoxedAnyObject
impl HasParamSpec for BoxedAnyObject
type ParamSpec = ParamSpecObject
type SetValue = BoxedAnyObject
type BuilderFn = fn(_: &str) -> ParamSpecObjectBuilder<'_, BoxedAnyObject>
source§impl HasParamSpec for ByteArray
impl HasParamSpec for ByteArray
source§impl HasParamSpec for Bytes
impl HasParamSpec for Bytes
source§impl HasParamSpec for Checksum
impl HasParamSpec for Checksum
source§impl HasParamSpec for Date
impl HasParamSpec for Date
source§impl HasParamSpec for DateTime
impl HasParamSpec for DateTime
source§impl HasParamSpec for GString
impl HasParamSpec for GString
source§impl HasParamSpec for GStringBuilder
impl HasParamSpec for GStringBuilder
type ParamSpec = ParamSpecBoxed
type SetValue = GStringBuilder
type BuilderFn = fn(_: &str) -> ParamSpecBoxedBuilder<'_, GStringBuilder>
source§impl HasParamSpec for IOCondition
impl HasParamSpec for IOCondition
type ParamSpec = ParamSpecFlags
type SetValue = IOCondition
type BuilderFn = fn(_: &str) -> ParamSpecFlagsBuilder<'_, IOCondition>
source§impl HasParamSpec for KeyFile
impl HasParamSpec for KeyFile
source§impl HasParamSpec for MainContext
impl HasParamSpec for MainContext
type ParamSpec = ParamSpecBoxed
type SetValue = MainContext
type BuilderFn = fn(_: &str) -> ParamSpecBoxedBuilder<'_, MainContext>
source§impl HasParamSpec for MainLoop
impl HasParamSpec for MainLoop
source§impl HasParamSpec for MarkupParseContext
impl HasParamSpec for MarkupParseContext
type ParamSpec = ParamSpecBoxed
type SetValue = MarkupParseContext
type BuilderFn = fn(_: &str) -> ParamSpecBoxedBuilder<'_, MarkupParseContext>
source§impl HasParamSpec for SignalGroup
Available on crate feature v2_74
only.
impl HasParamSpec for SignalGroup
Available on crate feature
v2_74
only.type ParamSpec = ParamSpecObject
type SetValue = SignalGroup
type BuilderFn = fn(_: &str) -> ParamSpecObjectBuilder<'_, SignalGroup>
source§impl HasParamSpec for Source
impl HasParamSpec for Source
source§impl HasParamSpec for TimeZone
impl HasParamSpec for TimeZone
source§impl HasParamSpec for Uri
Available on crate feature v2_66
only.
impl HasParamSpec for Uri
Available on crate feature
v2_66
only.