glib::prelude

Trait HasParamSpec

Source
pub trait HasParamSpec {
    type ParamSpec;
    type SetValue: ?Sized;
    type BuilderFn;

    // Required method
    fn param_spec_builder() -> Self::BuilderFn;
}

Required Associated Types§

Source

type ParamSpec

Source

type SetValue: ?Sized

Preferred value to be used as setter for the associated ParamSpec.

Source

type BuilderFn

Required Methods§

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

Source§

impl HasParamSpec for char

Source§

impl HasParamSpec for f32

Source§

impl HasParamSpec for f64

Source§

impl HasParamSpec for i8

Source§

impl HasParamSpec for i32

Source§

impl HasParamSpec for i64

Source§

impl HasParamSpec for str

Source§

impl HasParamSpec for u8

Source§

impl HasParamSpec for u32

Source§

impl HasParamSpec for u64

Source§

impl HasParamSpec for Box<str>

Source§

impl HasParamSpec for String

Source§

impl HasParamSpec for Vec<String>

Source§

impl HasParamSpec for Path

Source§

impl HasParamSpec for PathBuf

Source§

impl HasParamSpec for NonZeroI8

Source§

impl HasParamSpec for NonZeroI32

Source§

impl HasParamSpec for NonZeroI64

Source§

impl HasParamSpec for NonZeroU8

Source§

impl HasParamSpec for NonZeroU32

Source§

impl HasParamSpec for NonZeroU64

Source§

impl<T: ToValueOptional + HasParamSpec> HasParamSpec for Option<T>

Source§

impl<T: HasParamSpec + ?Sized> HasParamSpec for &T

Implementors§

Source§

impl HasParamSpec for NormalizeMode

Source§

impl HasParamSpec for UnicodeBreakType

Source§

impl HasParamSpec for UnicodeScript

Source§

impl HasParamSpec for UnicodeType

Source§

impl HasParamSpec for Closure

Source§

impl HasParamSpec for StrV

Source§

impl HasParamSpec for Error

Source§

impl HasParamSpec for MatchInfo<'static>

Source§

impl HasParamSpec for InitiallyUnowned

Source§

impl HasParamSpec for Object

Source§

impl HasParamSpec for Binding

Source§

impl HasParamSpec for BindingFlags

Source§

impl HasParamSpec for BindingGroup

Available on crate feature v2_72 only.
Source§

impl HasParamSpec for BoxedAnyObject

Source§

impl HasParamSpec for ByteArray

Source§

impl HasParamSpec for Bytes

Source§

impl HasParamSpec for Checksum

Source§

impl HasParamSpec for Date

Source§

impl HasParamSpec for DateTime

Source§

impl HasParamSpec for GString

Source§

impl HasParamSpec for GStringBuilder

Source§

impl HasParamSpec for IOCondition

Source§

impl HasParamSpec for KeyFile

Source§

impl HasParamSpec for MainContext

Source§

impl HasParamSpec for MainLoop

Source§

impl HasParamSpec for MarkupParseContext

Source§

impl HasParamSpec for Regex

Source§

impl HasParamSpec for SignalGroup

Available on crate feature v2_74 only.
Source§

impl HasParamSpec for Source

Source§

impl HasParamSpec for TimeZone

Source§

impl HasParamSpec for TypeModule

Source§

impl HasParamSpec for TypePlugin

Source§

impl HasParamSpec for Uri

Available on crate feature v2_66 only.
Source§

impl HasParamSpec for ValueArray

Source§

impl HasParamSpec for VariantDict

Source§

impl HasParamSpec for Variant