Add doc comments
- Doc comments in module `coord`
This commit is contained in:
parent
0955e96aef
commit
4d9a7c0527
@ -12,7 +12,10 @@ use serde::{Deserialize, Serialize};
|
|||||||
/// ```
|
/// ```
|
||||||
#[derive(Debug, Clone, Deserialize, Serialize, Default, PartialEq)]
|
#[derive(Debug, Clone, Deserialize, Serialize, Default, PartialEq)]
|
||||||
pub struct Coord {
|
pub struct Coord {
|
||||||
|
/// Longitude
|
||||||
pub lon: f64,
|
pub lon: f64,
|
||||||
|
|
||||||
|
/// Latitude
|
||||||
pub lat: f64,
|
pub lat: f64,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user