pub trait SerRon {
    // Required method
    fn ser_ron(&self, d: usize, s: &mut SerRonState);

    // Provided method
    fn serialize_ron(&self) -> String { ... }
}

Required Methods§

source

fn ser_ron(&self, d: usize, s: &mut SerRonState)

Provided Methods§

Implementations on Foreign Types§

source§

impl SerRon for u64

source§

fn ser_ron(&self, _d: usize, s: &mut SerRonState)

source§

impl SerRon for String

source§

fn ser_ron(&self, _d: usize, s: &mut SerRonState)

source§

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

source§

fn ser_ron(&self, d: usize, s: &mut SerRonState)

source§

impl SerRon for bool

source§

fn ser_ron(&self, _d: usize, s: &mut SerRonState)

source§

impl SerRon for usize

source§

fn ser_ron(&self, _d: usize, s: &mut SerRonState)

source§

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

source§

fn ser_ron(&self, d: usize, s: &mut SerRonState)

source§

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

source§

fn ser_ron(&self, d: usize, s: &mut SerRonState)

source§

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

source§

fn ser_ron(&self, d: usize, s: &mut SerRonState)

source§

impl<K, V> SerRon for HashMap<K, V>where K: SerRon, V: SerRon,

source§

fn ser_ron(&self, d: usize, s: &mut SerRonState)

source§

impl SerRon for i8

source§

fn ser_ron(&self, _d: usize, s: &mut SerRonState)

source§

impl SerRon for i64

source§

fn ser_ron(&self, _d: usize, s: &mut SerRonState)

source§

impl SerRon for f64

source§

fn ser_ron(&self, _d: usize, s: &mut SerRonState)

source§

impl SerRon for u8

source§

fn ser_ron(&self, _d: usize, s: &mut SerRonState)

source§

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

source§

fn ser_ron(&self, d: usize, s: &mut SerRonState)

source§

impl SerRon for u32

source§

fn ser_ron(&self, _d: usize, s: &mut SerRonState)

source§

impl SerRon for i16

source§

fn ser_ron(&self, _d: usize, s: &mut SerRonState)

source§

impl<T> SerRon for [T]where T: SerRon,

source§

fn ser_ron(&self, d: usize, s: &mut SerRonState)

source§

impl SerRon for i32

source§

fn ser_ron(&self, _d: usize, s: &mut SerRonState)

source§

impl SerRon for f32

source§

fn ser_ron(&self, _d: usize, s: &mut SerRonState)

source§

impl SerRon for u16

source§

fn ser_ron(&self, _d: usize, s: &mut SerRonState)

source§

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

source§

fn ser_ron(&self, d: usize, s: &mut SerRonState)

Implementors§