pub struct QPoint {
pub x: i64,
pub y: i64,
}Expand description
A point in quanta, top-left origin.
Fields§
§x: i64x in quanta.
y: i64y in quanta (grows downward).
Trait Implementations§
impl Copy for QPoint
Source§impl<'de> Deserialize<'de> for QPoint
impl<'de> Deserialize<'de> for QPoint
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for QPoint
impl StructuralPartialEq for QPoint
Auto Trait Implementations§
impl Freeze for QPoint
impl RefUnwindSafe for QPoint
impl Send for QPoint
impl Sync for QPoint
impl Unpin for QPoint
impl UnsafeUnpin for QPoint
impl UnwindSafe for QPoint
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