pub enum Rung {
IndexOnly,
Regular,
Rectilinear,
Curvilinear,
Fitted,
ImplicitMesh,
ExplicitMesh,
Features,
}Expand description
The rung of the position ladder (design doc 02, section 3). Each rung stores strictly more than the one before.
Variants§
IndexOnly
R0: index only.
Regular
R1: arithmetic from origin and step (affine).
Rectilinear
R2: outer product of 1D coordinate vectors.
Curvilinear
R3: one position per element, still (i, j) indexed.
Fitted
R3’: a fitted function of the index (GCP polynomial, RPC, TPS).
ImplicitMesh
R4: implicit mesh; arithmetic from a cell id (DGGS, L3 bins).
ExplicitMesh
R5: explicit mesh; stored positions plus connectivity.
Features
R6: features; a geometry per element.
Trait Implementations§
impl Copy for Rung
impl Eq for Rung
Source§impl Ord for Rung
impl Ord for Rung
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for Rung
impl PartialOrd for Rung
impl StructuralPartialEq for Rung
Auto Trait Implementations§
impl Freeze for Rung
impl RefUnwindSafe for Rung
impl Send for Rung
impl Sync for Rung
impl Unpin for Rung
impl UnsafeUnpin for Rung
impl UnwindSafe for Rung
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