Trait glib::Property

source ·
pub trait Property {
    type Value: HasParamSpec;
}
Expand description

A type that can be used as a property. It covers every type which have an associated ParamSpec (HasParamSpec) and some useful types wrapping HasParamSpec. The definition is recursive, so you can nest many Propertys together. The final ParamSpec will be the one of the innermost type

Required Associated Types§

Implementations on Foreign Types§

source§

impl<T: Property> Property for Mutex<T>

§

type Value = <T as Property>::Value

source§

impl Property for AtomicI8

§

type Value = i8

source§

impl Property for AtomicU8

§

type Value = u8

source§

impl Property for AtomicBool

§

type Value = bool

source§

impl<T: Property> Property for RwLock<T>

§

type Value = <T as Property>::Value

source§

impl<T: Property> Property for PhantomData<T>

§

type Value = <T as Property>::Value

source§

impl Property for AtomicI32

§

type Value = i32

source§

impl<T: Property> Property for Cell<T>

§

type Value = <T as Property>::Value

source§

impl Property for AtomicU32

§

type Value = u32

source§

impl<T: Property> Property for OnceCell<T>

§

type Value = <T as Property>::Value

source§

impl<T: Property> Property for Arc<T>

§

type Value = <T as Property>::Value

source§

impl<T: Property> Property for RefCell<T>

§

type Value = <T as Property>::Value

source§

impl<T: Property> Property for OnceCell<T>

§

type Value = <T as Property>::Value

source§

impl<T: Property> Property for Rc<T>

§

type Value = <T as Property>::Value

source§

impl Property for AtomicU64

§

type Value = u64

source§

impl Property for AtomicI64

§

type Value = i64

Implementors§