Struct three_d::renderer::control::PhysicalPoint
source · pub struct PhysicalPoint {
pub x: f32,
pub y: f32,
}
Expand description
A pixel coordinate in physical pixels, where x
is on the horizontal axis with zero being at the left edge
and y
is on the vertical axis with zero being at bottom edge.
Fields§
§x: f32
The horizontal pixel distance from the left edge.
y: f32
The vertical pixel distance from the bottom edge.
Trait Implementations§
source§impl Clone for PixelPoint
impl Clone for PixelPoint
source§fn clone(&self) -> PixelPoint
fn clone(&self) -> PixelPoint
Returns a copy 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 moresource§impl Debug for PixelPoint
impl Debug for PixelPoint
source§impl PartialEq for PixelPoint
impl PartialEq for PixelPoint
source§fn eq(&self, other: &PixelPoint) -> bool
fn eq(&self, other: &PixelPoint) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for PixelPoint
impl StructuralPartialEq for PixelPoint
Auto Trait Implementations§
impl RefUnwindSafe for PixelPoint
impl Send for PixelPoint
impl Sync for PixelPoint
impl Unpin for PixelPoint
impl UnwindSafe for PixelPoint
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