pub fn from_str<T: FromRon>(s: &str) -> Result<T>
Parse a RON string into a type that implements FromRon.
FromRon
use ron2::from_str; let value: i32 = ron2::from_str("42")?; assert_eq!(value, 42);