pub trait IntoDirection {
// Required method
fn into_direction(self) -> Direction;
}
Expand description
The IntoDirection trait provides a convience method for converting a type into a Direction.
pub trait IntoDirection {
// Required method
fn into_direction(self) -> Direction;
}
The IntoDirection trait provides a convience method for converting a type into a Direction.