Trait pax_runtime::api::properties::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)

Object Safety§

This trait is not object safe.

Implementors§

source§

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