notes

Log | Files | Refs | README

vtable.md (324B)


      1 # Vtable
      2 
      3 A **vtable** (virtual function table) in Rust is a data structure used to enable
      4 dynamic dispatch with trait objects (`dyn Trait`). It is essentially a lookup
      5 table of function pointers that allows the correct method implementation to be
      6 called at runtime, even when the concrete type isn't known at compile time.