Trait Value

Source
pub trait Value:
    Reflect
    + Debug
    + Send {
    // Required methods
    fn clone_box(&self) -> Box<dyn Value>;
    fn into_box_reflect(self: Box<Self>) -> Box<dyn Reflect>;
}
Expand description

Trait of values that can be edited by an Inspector through reflection.

Required Methods§

Source

fn clone_box(&self) -> Box<dyn Value>

Source

fn into_box_reflect(self: Box<Self>) -> Box<dyn Reflect>

Implementors§

Source§

impl<T> Value for T
where T: Reflect + Clone + Debug + Send,