pub struct PlotPoint<D = f64> {
pub x: D,
pub y: D,
}Expand description
A point in plot/chart coordinates.
Represents a 2D position in data/chart space using domain values.
Fields§
§x: DX coordinate in domain units.
y: DY coordinate in domain units.
Implementations§
Trait Implementations§
impl<D: Copy> Copy for PlotPoint<D>
Auto Trait Implementations§
impl<D> Freeze for PlotPoint<D>where
D: Freeze,
impl<D> RefUnwindSafe for PlotPoint<D>where
D: RefUnwindSafe,
impl<D> Send for PlotPoint<D>where
D: Send,
impl<D> Sync for PlotPoint<D>where
D: Sync,
impl<D> Unpin for PlotPoint<D>where
D: Unpin,
impl<D> UnwindSafe for PlotPoint<D>where
D: UnwindSafe,
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