Trait glib::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 AtomicI64

§

type SetValue = i64

source§

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

source§

impl PropertySet for AtomicI32

§

type SetValue = i32

source§

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

source§

impl PropertySet for AtomicU64

§

type SetValue = u64

source§

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

source§

impl<T> PropertySet for OnceCell<T>

§

type SetValue = T

source§

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

source§

impl<T> PropertySet for OnceCell<T>

§

type SetValue = T

source§

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

source§

impl<T> PropertySet for Cell<T>

§

type SetValue = T

source§

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

source§

impl PropertySet for AtomicBool

§

type SetValue = bool

source§

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

source§

impl PropertySet for AtomicU32

§

type SetValue = u32

source§

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

source§

impl PropertySet for AtomicU8

§

type SetValue = u8

source§

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

source§

impl PropertySet for AtomicI8

§

type SetValue = i8

source§

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

Implementors§