glib::property

Trait 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 Property for AtomicBool

Source§

impl Property for AtomicI8

Source§

impl Property for AtomicI32

Source§

impl Property for AtomicI64

Source§

impl Property for AtomicU8

Source§

impl Property for AtomicU32

Source§

impl Property for AtomicU64

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

impl<T: Property> Property for OnceLock<T>

Source§

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

Implementors§