How do you declare an interface in Rust?
stackoverflow.com/questions/45633269/how-do-you-declare-an-interface-in-rustI have multiple types with similar methods. I want to abstract over them by writing an interface, like I would in Java:
public interface Shape {
public float area();
}class Circle implements ...