pub trait ArgFromValue<'k>: Sealed {
type Output;
// Required method
fn from_value(value: &'k Value) -> TeraResult<Self::Output>;
}Expand description
Converts a template Value into a type that can be used in Rust code
Required Associated Types§
Required Methods§
fn from_value(value: &'k Value) -> TeraResult<Self::Output>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".