You could use a protocol composition:
extension Moveable where Self: protocol<Animal, Aged> {
// ...
}
Or just add the conformances one after the other:
extension Moveable where Self: Animal, Self: Aged {
// ...
}
You could use a protocol composition:
extension Moveable where Self: protocol<Animal, Aged> {
// ...
}
Or just add the conformances one after the other:
extension Moveable where Self: Animal, Self: Aged {
// ...
}