pub trait FromRon<'a> where Self: Sized + Deserialize<'a>, { fn from_ron(ron: &'a str) -> Result<Self, Error> { ... } }
Trait with default method, that allows to create an implementor from given RON.
Creates an implementor from RON.
Will return Error with kind ErrorKind::DeserializingFailed if it fails to deserialize given string to implementor.