macro_rules! from_dyn {
    (Slice < dyn $trait:path as $vtable:path >) => { ... };
    (SliceMut < dyn $trait:path as $vtable:path >) => { ... };
    (VecDyn < dyn $trait:path as $vtable:path >) => { ... };
    (SliceCopy < dyn $trait:path as $vtable:path >) => { ... };
    (SliceCopyMut < dyn $trait:path as $vtable:path >) => { ... };
    (VecCopy < dyn $trait:path as $vtable:path >) => { ... };
    (@owned $vec:ident < dyn $trait:path as $vtable:path>) => { ... };
    (@slice $slice:ident < dyn $trait:path >) => { ... };
}
Expand description

Convert a given container with a dynamic vtable to a concrete type.

This macro will panic if the conversion fails.