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§
source§impl<'de> Deserialize<'de> for MapPoint
impl<'de> Deserialize<'de> for MapPoint
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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