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