pub struct PlotPointer {
pub pointer_id: i32,
pub device: PlotPointerDevice,
pub phase: PlotPointerPhase,
pub x: f64,
pub y: f64,
pub viewport: Rect,
}Fields§
§pointer_id: i32§device: PlotPointerDevice§phase: PlotPointerPhase§x: f64Fractional local border-box coordinates. A captured terminal point can lie outside the viewport; no clamping, rounding or DPR multiplication.
y: f64§viewport: RectThe same observation’s fractional border-box extent, with x=y=0. Consumers map this extent to their accepted logical drawing viewport.
Implementations§
Trait Implementations§
Source§impl Clone for PlotPointer
impl Clone for PlotPointer
impl Copy for PlotPointer
Source§impl Debug for PlotPointer
impl Debug for PlotPointer
Source§impl PartialEq for PlotPointer
impl PartialEq for PlotPointer
impl StructuralPartialEq for PlotPointer
Auto Trait Implementations§
impl Forget for PlotPointer
impl Freeze for PlotPointer
impl Move for PlotPointer
impl RefUnwindSafe for PlotPointer
impl Send for PlotPointer
impl Sync for PlotPointer
impl Unpin for PlotPointer
impl UnsafeUnpin for PlotPointer
impl UnwindSafe for PlotPointer
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