Skip to main content

PropValue

Trait PropValue 

Source
pub trait PropValue: Tween + Clone {
    // Required methods
    fn into_value(self) -> Value;
    fn from_value(v: &Value) -> Option<Self>;
}

Required Methods§

Source

fn into_value(self) -> Value

Source

fn from_value(v: &Value) -> Option<Self>

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementations on Foreign Types§

Source§

impl PropValue for Angle

Source§

impl PropValue for DVec2

Source§

impl PropValue for VectorPath

Source§

impl PropValue for f64

Implementors§