Skip to main content

make_speak

Function make_speak 

Source
pub(crate) fn make_speak(s: &dyn Speaker)
Expand description

Dynamic Dispatch via trait object (dyn Speaker).

ยงArguments

  • s - A trait object reference resolved at runtime via vtable lookup.