pub struct MapPoint {
pub coords: [f64; 3],
pub lines: Vec<[f64; 3]>,
pub id: usize,
pub name: String,
/* private fields */
}Expand description
Struct that contains coordinates to help calculate nearest point in space
Fields§
§coords: [f64; 3]coordinates of the Solar System
lines: Vec<[f64; 3]>coordinates for lines connecting this point
id: usizeObject Identifier for search propurses
name: StringSolarSystem Name
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for MapPoint
impl Send for MapPoint
impl Sync for MapPoint
impl Unpin for MapPoint
impl UnwindSafe for MapPoint
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