Macro miniserde::make_place[][src]

macro_rules! make_place {
    ($name:ident) => { ... };
}

Macro to define a "place" type compatible with deserialization.

Refer to the miniserde::de documentation for examples.

This macro expands to:

struct $name<T> {
    out: Option<T>,
}

impl<T> $name<T> {
    fn new(out: &mut Option<T>) -> &mut Self {
        /* ... */
    }
}