pub enum EarthShape {
Spherical {
radius: f64,
},
Flat,
}Expand description
The shape of the simulated Earth
Variants§
Trait Implementations§
Source§impl Clone for EarthShape
impl Clone for EarthShape
Source§fn clone(&self) -> EarthShape
fn clone(&self) -> EarthShape
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for EarthShape
Auto Trait Implementations§
impl Freeze for EarthShape
impl RefUnwindSafe for EarthShape
impl Send for EarthShape
impl Sync for EarthShape
impl Unpin for EarthShape
impl UnwindSafe for EarthShape
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