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: StringThe name of the gridded data
data: Vec<f64>The grid data
extent: ExtentThe extent for remapping the data with a value between 0 and extent
size: f64The size of the tile (width and height)
min: f64The minimum grid value
max: f64The 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