pub enum Planet {
Mercury,
Venus,
Earth,
Mars,
Jupiter,
Saturn,
Uranus,
Neptune,
}Expand description
Represents a planet
Variants§
Mercury
Mercury Thanks for help testing General Relativity
Venus
Venus Climate change was here
Earth
Earth The pale blue dot
Mars
Mars Panspermia sounds nice
Jupiter
Jupiter Oh, Europa
Saturn
Saturn 62 moons and some moonlets
Uranus
Uranus Remember King George?
Neptune
Neptune Oceans of liquid diamond (probably)
Auto Trait Implementations§
impl Freeze for Planet
impl RefUnwindSafe for Planet
impl Send for Planet
impl Sync for Planet
impl Unpin for Planet
impl UnwindSafe for Planet
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