Skip to main content

PropertyValue

Trait PropertyValue 

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

Value operations shared by local and transferable properties.

Values must be cloneable for .get(), interpolatable for transitions, and 'static because properties are stored in the runtime graph.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

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