#[non_exhaustive]pub struct GridPoint {
pub index: u64,
pub latitude_deg: f64,
pub longitude_deg: f64,
pub weight: f64,
}Expand description
A grid point the profile is interpolated from.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.index: u64Its index in the cut’s grid.
latitude_deg: f64Latitude, degrees north.
longitude_deg: f64Longitude, degrees east, in [0, 360).
weight: f64Its bilinear weight; the four sum to 1.
Trait Implementations§
impl Copy for GridPoint
Source§impl<'de> Deserialize<'de> for GridPoint
impl<'de> Deserialize<'de> for GridPoint
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
impl StructuralPartialEq for GridPoint
Auto Trait Implementations§
impl Freeze for GridPoint
impl RefUnwindSafe for GridPoint
impl Send for GridPoint
impl Sync for GridPoint
impl Unpin for GridPoint
impl UnsafeUnpin for GridPoint
impl UnwindSafe for GridPoint
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