Skip to main content

vtable

Macro vtable 

Source
macro_rules! vtable {
    ($V:ident) => { ... };
    ($Base:ident, $VT:ident) => { ... };
}
Expand description

vtable! macro — generates IntoArray, From, Deref, AsRef for inner array types.

During the migration, IntoArray creates Array<V> (the new typed wrapper) while Deref/AsRef go through AlsoArrayAdapter for backward-compatible DynArray access.