Trait Value

Source
pub trait Value:
    ValueDesc
    + TryInto<ValueEnum>
    + JEq<ValueEnum>
    + JEq<Self>
    + JEq<ValId> {
    // Provided method
    fn to_value<E>(self) -> Result<ValueEnum, E>
       where <Self as TryInto<ValueEnum>>::Error: Into<E> { ... }
}
Expand description

A trait implemented by rain values

Provided Methods§

Source

fn to_value<E>(self) -> Result<ValueEnum, E>
where <Self as TryInto<ValueEnum>>::Error: Into<E>,

Try to make this type into a value

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.

Implementations on Foreign Types§

Source§

impl Value for bool

Implementors§