pub struct GridData {
pub name: String,
pub data: Vec<f64>,
pub extent: Extent,
pub size: f64,
pub min: f64,
pub max: f64,
}
Expand description
Gridded data object to read from
Fields§
§name: String
The name of the gridded data
data: Vec<f64>
The grid data
extent: Extent
The extent for remapping the data with a value between 0 and extent
size: f64
The size of the tile (width and height)
min: f64
The minimum grid value
max: f64
The maximum grid value
Implementations§
Trait Implementations§
Source§impl ProtoWrite for GridData
impl ProtoWrite for GridData
impl StructuralPartialEq for GridData
Auto Trait Implementations§
impl Freeze for GridData
impl RefUnwindSafe for GridData
impl Send for GridData
impl Sync for GridData
impl Unpin for GridData
impl UnwindSafe for GridData
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