pub fn flat_from_str<'a, T>(s: &'a str) -> Result<T>
where
    T: Deserialize<'a>,
{
    let mut deserializer = FlatDeserializer::from_str(s)?;

    let t = T::deserialize(&mut deserializer)?;

    deserializer.parser.parse_eof()?;

    Ok(t)
}
/// Deserialize an instance of sequence type `T` from an ARFF formatted string, to obtain a flat
/// representation of the data.
Deserialize an instance of sequence type `T` from an ARFF formatted string, to obtain a flat
representation of the data.
Deserialize an instance of sequence type ` T ` from an ARFF formatted string to obtain a flat representation of the data .
pub fn flat_from_str<'a, T>(s: &'a str) -> Result<T>
where
    T: Deserialize<'a>,
{
    let mut deserializer = FlatDeserializer::from_str(s)?;
    let t = T::deserialize(&mut deserializer)?;
    deserializer.parser.parse_eof()?;
    Ok(t)
}
pub fn flat_from_str < ' a , T > ( s : & ' a str ) -> Result < T > where T : Deserialize < ' a > , { let mut deserializer = FlatDeserializer :: from_str ( s ) ? ; let t = T :: deserialize ( & mut deserializer ) ? ; deserializer . parser . parse_eof ( ) ? ; Ok ( t ) }
Deserialize an instance of sequence type `T` from an ARFF formatted string, to obtain a flat
representation of the data.
Deserialize an instance of sequence type ` T ` from an ARFF formatted string to obtain a flat representation of the data .
s
&'a str
s
&'a str