glib::property

Trait PropertySet

Source
pub trait PropertySet {
    type SetValue;

    // Required method
    fn set(&self, v: Self::SetValue);
}
Expand description

A container type implementing this trait can be written by the default setter generated by the Properties macro.

Required Associated Types§

Required Methods§

Source

fn set(&self, v: Self::SetValue)

Implementations on Foreign Types§

Source§

impl PropertySet for AtomicBool

Source§

type SetValue = bool

Source§

fn set(&self, v: Self::SetValue)

Source§

impl PropertySet for AtomicI8

Source§

type SetValue = i8

Source§

fn set(&self, v: Self::SetValue)

Source§

impl PropertySet for AtomicI32

Source§

type SetValue = i32

Source§

fn set(&self, v: Self::SetValue)

Source§

impl PropertySet for AtomicI64

Source§

type SetValue = i64

Source§

fn set(&self, v: Self::SetValue)

Source§

impl PropertySet for AtomicU8

Source§

type SetValue = u8

Source§

fn set(&self, v: Self::SetValue)

Source§

impl PropertySet for AtomicU32

Source§

type SetValue = u32

Source§

fn set(&self, v: Self::SetValue)

Source§

impl PropertySet for AtomicU64

Source§

type SetValue = u64

Source§

fn set(&self, v: Self::SetValue)

Source§

impl<T> PropertySet for OnceCell<T>

Source§

type SetValue = T

Source§

fn set(&self, v: Self::SetValue)

Source§

impl<T> PropertySet for Cell<T>

Source§

type SetValue = T

Source§

fn set(&self, v: Self::SetValue)

Source§

impl<T> PropertySet for OnceLock<T>

Source§

type SetValue = T

Source§

fn set(&self, v: Self::SetValue)

Implementors§