pub trait Property<'t> {
    type Type;

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

Trait implemented by properties.

Required Associated Types§

source

type Type

The type of the property.

Required Methods§

source

fn set(&self, value: Self::Type)

Set the property value to |value|.

Implementors§

source§

impl<'t> Property<'t> for BoolProperty

§

type Type = bool

source§

impl<'t> Property<'t> for BytesProperty

§

type Type = &'t [u8]

source§

impl<'t> Property<'t> for DoubleProperty

§

type Type = f64

source§

impl<'t> Property<'t> for IntProperty

§

type Type = i64

source§

impl<'t> Property<'t> for StringProperty

§

type Type = &'t str

source§

impl<'t> Property<'t> for UintProperty

§

type Type = u64