Every function has its own type (Function is an abstract type), so you want to parameterize your struct by that type. Something like
struct Cut{F}
member::String
sound::F
end
Every function has its own type (Function is an abstract type), so you want to parameterize your struct by that type. Something like
struct Cut{F}
member::String
sound::F
end