[][src]Function goff::from_str

pub fn from_str<'d, T>(inp: &'d str) -> Result<T, Error> where
    T: Deserialize<'d>, 

Deserialises the given Goff data as a str and returns it, deserialised to a given type.

Errors

from_str may return almost any Error