Trait PropertyValue

Source
pub trait PropertyValue:
    Default
    + Clone
    + Interpolatable
    + 'static { }
Expand description

PropertyValue represents a restriction on valid generic types that a property can contain. All T need to be Clone (to enable .get()) + ’static (no references/ lifetimes)

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<T> PropertyValue for T
where T: Default + Clone + Interpolatable + 'static,