Skip to main content

IntoValue

Trait IntoValue 

Source
pub trait IntoValue {
    // Required method
    fn into_value(self) -> Value;
}
Expand description

A type that converts into a value: every Into<Value>, Value itself included, see FromValue for the way back.

Supporting trait: it is only there to make this crate’s API easier to use, it is implemented for everything that API accepts and is not one to implement anywhere else.

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§

Source§

impl<T: Into<Value>> IntoValue for T