dynamic dispatch
Choosing which function to call while the program runs.
Dynamic dispatch looks up the method in the trait object's vtable at run time, so one piece of code works for any type, at the cost of an indirect call.
See also
Choosing which function to call while the program runs.
Dynamic dispatch looks up the method in the trait object's vtable at run time, so one piece of code works for any type, at the cost of an indirect call.
See also