pub struct LoupeTarget {
pub focus_x: f32,
pub line_mid_y: f32,
}Expand description
What the loupe magnifies: the finger x and the grabbed line’s vertical mid, in window coordinates.
Fields§
§focus_x: f32§line_mid_y: f32Trait Implementations§
Source§impl Clone for LoupeTarget
impl Clone for LoupeTarget
Source§fn clone(&self) -> LoupeTarget
fn clone(&self) -> LoupeTarget
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for LoupeTarget
Source§impl Debug for LoupeTarget
impl Debug for LoupeTarget
Source§impl PartialEq for LoupeTarget
impl PartialEq for LoupeTarget
impl StructuralPartialEq for LoupeTarget
Auto Trait Implementations§
impl Freeze for LoupeTarget
impl RefUnwindSafe for LoupeTarget
impl Send for LoupeTarget
impl Sync for LoupeTarget
impl Unpin for LoupeTarget
impl UnsafeUnpin for LoupeTarget
impl UnwindSafe for LoupeTarget
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