pub enum Surface {
Tarmac = 0,
RumbleStrip = 1,
Concrete = 2,
Rock = 3,
Gravel = 4,
Mud = 5,
Sand = 6,
Grass = 7,
Water = 8,
Cobblestone = 9,
Metal = 10,
Ridged = 11,
}
Expand description
Surfaces that a tyre can come in contact with in the F1 games
Variants§
Tarmac = 0
RumbleStrip = 1
Concrete = 2
Rock = 3
Gravel = 4
Mud = 5
Sand = 6
Grass = 7
Water = 8
Cobblestone = 9
Metal = 10
Ridged = 11
Trait Implementations§
Source§impl Ord for Surface
impl Ord for Surface
Source§impl PartialOrd for Surface
impl PartialOrd for Surface
impl Copy for Surface
impl Eq for Surface
impl StructuralPartialEq for Surface
Auto Trait Implementations§
impl Freeze for Surface
impl RefUnwindSafe for Surface
impl Send for Surface
impl Sync for Surface
impl Unpin for Surface
impl UnwindSafe for Surface
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more