pub fn from_str<T>(s: &str) -> Result<T, Error>where
T: for<'a> Deserialize<'a>,
Expand description
Loads a Ryan file from a supplied string and executes it, finally building an instance
of type T
from the execution outcome. The current_module
will be set to None
while executing in this mode.