Skip to main content

RustyValue

Trait RustyValue 

Source
pub trait RustyValue {
    // Required method
    fn into_rusty_value(self) -> Value;
}

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

Source§

impl RustyValue for f32

Source§

impl RustyValue for f64

Source§

impl RustyValue for PathBuf

Source§

impl<R: RustyValue> RustyValue for Vec<R>

Source§

impl<R: RustyValue, H: HashableRustyValue> RustyValue for HashMap<H, R>

Source§

impl<T: RustyValue> RustyValue for Option<T>

Implementors§