Trait glib::property::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 Props 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§