pub trait FromStack: Sized {
// Required method
fn from_value(value: Value) -> Result<Self, FaultKind>;
}
Expand description
A type that can be constructed from popping from the virtual machine stack.
Required Methods§
sourcefn from_value(value: Value) -> Result<Self, FaultKind>
fn from_value(value: Value) -> Result<Self, FaultKind>
Returns an instance constructing from the stack.