pub struct DragPoint {
pub x: i32,
pub y: i32,
}Expand description
A point in 2D space.
Fields§
§x: i32The x-coordinate.
y: i32The y-coordinate.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DragPoint
impl<'de> Deserialize<'de> for DragPoint
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 StructuralPartialEq for DragPoint
Auto Trait Implementations§
impl Freeze for DragPoint
impl RefUnwindSafe for DragPoint
impl Send for DragPoint
impl Sync for DragPoint
impl Unpin for DragPoint
impl UnwindSafe for DragPoint
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