Struct ScreenPoint
pub struct ScreenPoint {
pub x: f64,
pub y: f64,
}Expand description
Screen-space point in logical map pixels.
Fields§
§x: f64§y: f64Implementations§
§impl ScreenPoint
impl ScreenPoint
pub const fn new(x: f64, y: f64) -> ScreenPoint
Trait Implementations§
§impl Clone for ScreenPoint
impl Clone for ScreenPoint
§fn clone(&self) -> ScreenPoint
fn clone(&self) -> ScreenPoint
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 more§impl Debug for ScreenPoint
impl Debug for ScreenPoint
§impl PartialEq for ScreenPoint
impl PartialEq for ScreenPoint
impl Copy for ScreenPoint
impl StructuralPartialEq for ScreenPoint
Auto Trait Implementations§
impl Freeze for ScreenPoint
impl RefUnwindSafe for ScreenPoint
impl Send for ScreenPoint
impl Sync for ScreenPoint
impl Unpin for ScreenPoint
impl UnsafeUnpin for ScreenPoint
impl UnwindSafe for ScreenPoint
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