Trait runestick::FromValue [−][src]
pub trait FromValue: 'static + Sized { fn from_value(value: Value) -> Result<Self, VmError>; }
Expand description
Trait for converting from a value.
Required methods
fn from_value(value: Value) -> Result<Self, VmError>
fn from_value(value: Value) -> Result<Self, VmError>
Try to convert to the given type, from the given value.