pub trait DeRon: Sized {
    // Required method
    fn de_ron(s: &mut DeRonState, i: &mut Chars<'_>) -> Result<Self, DeRonErr>;

    // Provided method
    fn deserialize_ron(input: &str) -> Result<Self, DeRonErr> { ... }
}

Required Methods§

source

fn de_ron(s: &mut DeRonState, i: &mut Chars<'_>) -> Result<Self, DeRonErr>

Provided Methods§

Implementations on Foreign Types§

source§

impl<T> DeRon for Box<T>where T: DeRon,

source§

fn de_ron(s: &mut DeRonState, i: &mut Chars<'_>) -> Result<Box<T>, DeRonErr>

source§

impl DeRon for i32

source§

fn de_ron(s: &mut DeRonState, i: &mut Chars<'_>) -> Result<i32, DeRonErr>

source§

impl DeRon for u16

source§

fn de_ron(s: &mut DeRonState, i: &mut Chars<'_>) -> Result<u16, DeRonErr>

source§

impl DeRon for usize

source§

fn de_ron(s: &mut DeRonState, i: &mut Chars<'_>) -> Result<usize, DeRonErr>

source§

impl<K, V> DeRon for HashMap<K, V>where K: DeRon + Eq + Hash, V: DeRon,

source§

fn de_ron(s: &mut DeRonState, i: &mut Chars<'_>) -> Result<Self, DeRonErr>

source§

impl DeRon for u32

source§

fn de_ron(s: &mut DeRonState, i: &mut Chars<'_>) -> Result<u32, DeRonErr>

source§

impl DeRon for i8

source§

fn de_ron(s: &mut DeRonState, i: &mut Chars<'_>) -> Result<i8, DeRonErr>

source§

impl<T> DeRon for Vec<T>where T: DeRon,

source§

fn de_ron(s: &mut DeRonState, i: &mut Chars<'_>) -> Result<Vec<T>, DeRonErr>

source§

impl<T> DeRon for Option<T>where T: DeRon,

source§

fn de_ron(s: &mut DeRonState, i: &mut Chars<'_>) -> Result<Self, DeRonErr>

source§

impl DeRon for f32

source§

fn de_ron(s: &mut DeRonState, i: &mut Chars<'_>) -> Result<f32, DeRonErr>

source§

impl<T, const N: usize> DeRon for [T; N]where T: DeRon,

source§

fn de_ron(s: &mut DeRonState, i: &mut Chars<'_>) -> Result<Self, DeRonErr>

source§

impl<A, B> DeRon for (A, B)where A: DeRon, B: DeRon,

source§

fn de_ron(s: &mut DeRonState, i: &mut Chars<'_>) -> Result<(A, B), DeRonErr>

source§

impl DeRon for i16

source§

fn de_ron(s: &mut DeRonState, i: &mut Chars<'_>) -> Result<i16, DeRonErr>

source§

impl<A, B, C, D> DeRon for (A, B, C, D)where A: DeRon, B: DeRon, C: DeRon, D: DeRon,

source§

fn de_ron( s: &mut DeRonState, i: &mut Chars<'_> ) -> Result<(A, B, C, D), DeRonErr>

source§

impl<A, B, C> DeRon for (A, B, C)where A: DeRon, B: DeRon, C: DeRon,

source§

fn de_ron(s: &mut DeRonState, i: &mut Chars<'_>) -> Result<(A, B, C), DeRonErr>

source§

impl DeRon for bool

source§

fn de_ron(s: &mut DeRonState, i: &mut Chars<'_>) -> Result<bool, DeRonErr>

source§

impl DeRon for u64

source§

fn de_ron(s: &mut DeRonState, i: &mut Chars<'_>) -> Result<u64, DeRonErr>

source§

impl DeRon for i64

source§

fn de_ron(s: &mut DeRonState, i: &mut Chars<'_>) -> Result<i64, DeRonErr>

source§

impl DeRon for String

source§

fn de_ron(s: &mut DeRonState, i: &mut Chars<'_>) -> Result<String, DeRonErr>

source§

impl DeRon for f64

source§

fn de_ron(s: &mut DeRonState, i: &mut Chars<'_>) -> Result<f64, DeRonErr>

source§

impl DeRon for u8

source§

fn de_ron(s: &mut DeRonState, i: &mut Chars<'_>) -> Result<u8, DeRonErr>

Implementors§