pub struct Mass {
pub axis: Vec3,
pub radius: f32,
}Expand description
An object which takes up physical space.
Fields§
§axis: Vec3In object-space, by which this celestial body is tilted
radius: f32Radius of the celestial body to it’s surface, excluding it’s atmosphere, in kilometers.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Mass
impl RefUnwindSafe for Mass
impl Send for Mass
impl Sync for Mass
impl Unpin for Mass
impl UnwindSafe for Mass
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