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§

source

type ParamSpec

source

type SetValue: ?Sized

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

source

type BuilderFn

Required Methods§

Implementations on Foreign Types§

source§

impl HasParamSpec for i32

source§

impl HasParamSpec for u8

source§

impl HasParamSpec for f32

source§

impl HasParamSpec for f64

source§

impl HasParamSpec for Box<str>

source§

impl HasParamSpec for bool

source§

impl HasParamSpec for i8

source§

impl HasParamSpec for Path

source§

impl HasParamSpec for i64

source§

impl HasParamSpec for u64

source§

impl HasParamSpec for str

source§

impl HasParamSpec for char

source§

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

source§

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

source§

impl HasParamSpec for u32

source§

impl HasParamSpec for Vec<String>

source§

impl HasParamSpec for PathBuf

source§

impl HasParamSpec for String

Implementors§

source§

impl HasParamSpec for Closure

source§

impl HasParamSpec for StrV

source§

impl HasParamSpec for Error

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 SignalGroup

Available on crate feature v2_74 only.
source§

impl HasParamSpec for Source

source§

impl HasParamSpec for TimeZone

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

§

type ParamSpec = ParamSpecVariant

§

type SetValue = Variant

§

type BuilderFn = fn(_: &'static str, _: &'static VariantTy) -> ParamSpecVariantBuilder<'static>