pub trait FromRon<'a> where
    Self: Sized + Deserialize<'a>, 
{ fn from_ron(ron: &'a str) -> Result<Self, Error> { ... } }
Expand description

Trait with default method, that allows to create an implementor from given RON.

Provided Methods

Creates an implementor from RON.

Errors

Will return Error with kind ErrorKind::DeserializingFailed if it fails to deserialize given string to implementor.

Implementors