Skip to main content

downcast_and_serialize

Macro downcast_and_serialize 

Source
macro_rules! downcast_and_serialize {
    ($any_ref:expr, $context:expr, $trait_name:ident, $($impl_type:ty),+) => { ... };
}
Expand description

Helper macro for common type resolution and downcasting pattern