DefaultVtable

Type Alias DefaultVtable 

Source
pub type DefaultVtable<B = Normal> = Unaligned<&'static StaticVTable<B>>;
Expand description

The default vtable implementation.

This is a pointer to a StaticVTable where the pointer has had it’s alignment requirements removed. The alignment requirements are removed for better space efficiency when used with layouts having a low alignment. On some platforms this may result in a lower performance. In which case, you can switch to using a &'static StaticVTable<B> directly.

Aliased Type§

pub struct DefaultVtable<B = Normal> { /* private fields */ }