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
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementations on Foreign Types§
Source§impl HasParamSpec for bool
impl HasParamSpec for bool
Source§impl HasParamSpec for char
impl HasParamSpec for char
Source§impl HasParamSpec for f32
impl HasParamSpec for f32
Source§impl HasParamSpec for f64
impl HasParamSpec for f64
Source§impl HasParamSpec for i8
impl HasParamSpec for i8
Source§impl HasParamSpec for i32
impl HasParamSpec for i32
Source§impl HasParamSpec for i64
impl HasParamSpec for i64
Source§impl HasParamSpec for str
impl HasParamSpec for str
Source§impl HasParamSpec for u8
impl HasParamSpec for u8
Source§impl HasParamSpec for u32
impl HasParamSpec for u32
Source§impl HasParamSpec for u64
impl HasParamSpec for u64
Source§impl HasParamSpec for Box<str>
impl HasParamSpec for Box<str>
Source§impl HasParamSpec for String
impl HasParamSpec for String
Source§impl HasParamSpec for Vec<String>
impl HasParamSpec for Vec<String>
Source§impl HasParamSpec for Path
impl HasParamSpec for Path
Source§impl HasParamSpec for PathBuf
impl HasParamSpec for PathBuf
Source§impl HasParamSpec for NonZeroI8
impl HasParamSpec for NonZeroI8
Source§impl HasParamSpec for NonZeroI32
impl HasParamSpec for NonZeroI32
Source§impl HasParamSpec for NonZeroI64
impl HasParamSpec for NonZeroI64
Source§impl HasParamSpec for NonZeroU8
impl HasParamSpec for NonZeroU8
Source§impl HasParamSpec for NonZeroU32
impl HasParamSpec for NonZeroU32
Source§impl HasParamSpec for NonZeroU64
impl HasParamSpec for NonZeroU64
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<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
Implementors§
Source§impl HasParamSpec for NormalizeMode
impl HasParamSpec for NormalizeMode
type ParamSpec = ParamSpecEnum
type SetValue = NormalizeMode
type BuilderFn = fn(_: &str, _: NormalizeMode) -> ParamSpecEnumBuilder<'_, NormalizeMode>
Source§impl HasParamSpec for UnicodeBreakType
impl HasParamSpec for UnicodeBreakType
type ParamSpec = ParamSpecEnum
type SetValue = UnicodeBreakType
type BuilderFn = fn(_: &str, _: UnicodeBreakType) -> ParamSpecEnumBuilder<'_, UnicodeBreakType>
Source§impl HasParamSpec for UnicodeScript
impl HasParamSpec for UnicodeScript
type ParamSpec = ParamSpecEnum
type SetValue = UnicodeScript
type BuilderFn = fn(_: &str, _: UnicodeScript) -> ParamSpecEnumBuilder<'_, UnicodeScript>
Source§impl HasParamSpec for UnicodeType
impl HasParamSpec for UnicodeType
type ParamSpec = ParamSpecEnum
type SetValue = UnicodeType
type BuilderFn = fn(_: &str, _: UnicodeType) -> ParamSpecEnumBuilder<'_, UnicodeType>
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 MatchInfo<'static>
impl HasParamSpec for MatchInfo<'static>
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 Regex
impl HasParamSpec for Regex
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 TypeModule
impl HasParamSpec for TypeModule
type ParamSpec = ParamSpecObject
type SetValue = TypeModule
type BuilderFn = fn(_: &str) -> ParamSpecObjectBuilder<'_, TypeModule>
Source§impl HasParamSpec for TypePlugin
impl HasParamSpec for TypePlugin
type ParamSpec = ParamSpecObject
type SetValue = TypePlugin
type BuilderFn = fn(_: &str) -> ParamSpecObjectBuilder<'_, TypePlugin>
Source§impl HasParamSpec for Uri
Available on crate feature v2_66
only.
impl HasParamSpec for Uri
Available on crate feature
v2_66
only.