crius
crius copied to clipboard
Store Command in a struct
What is the best way to store Command in a struct's field for use in methods?
This can be done by using function pointers which are concrete types implementing the Fn traits.