Parameterized Fruit
I said we were allowed to write a trait implementation for types we created ourselves. Let’s write a Fruit
struct and provide it a Double
implementation:
I said we were allowed to write a trait implementation for types we created ourselves. Let’s write a Fruit
struct and provide it a Double
implementation: