Skip to main content

wrap_rc

Macro wrap_rc 

Source
macro_rules! wrap_rc {
    ($field:expr, $trait_name:ident) => { ... };
}
Expand description

Helper macros for automatic conversions in derive code These are used by fory-derive to generate transparent conversions

Convert field of type Rc<dyn Trait> to wrapper for serialization