Value

Trait Value 

Source
pub trait Value:
    Debug
    + Clone
    + PartialEq
    + NotObserver
    + 'static
    + Any {
    // Required method
    fn as_any(&self) -> &dyn Any;
}
Expand description

Trait alias for Debug + Clone + 'static

Required Methods§

Source

fn as_any(&self) -> &dyn Any

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> Value for T
where T: Debug + Clone + PartialEq + NotObserver + 'static + Any,