pub struct SpatialPoint {
pub x: f64,
pub y: f64,
pub index: usize,
}Expand description
A 2-D point with an associated spot/cell index.
Fields§
§x: f64§y: f64§index: usizeTrait Implementations§
Source§impl Clone for SpatialPoint
impl Clone for SpatialPoint
Source§fn clone(&self) -> SpatialPoint
fn clone(&self) -> SpatialPoint
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SpatialPoint
impl RefUnwindSafe for SpatialPoint
impl Send for SpatialPoint
impl Sync for SpatialPoint
impl Unpin for SpatialPoint
impl UnsafeUnpin for SpatialPoint
impl UnwindSafe for SpatialPoint
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