pub struct DragPath {
pub x: i64,
pub y: i64,
}Expand description
An x/y coordinate pair, e.g. { x: 100, y: 200 }.
Fields§
§x: i64The x-coordinate.
y: i64The y-coordinate.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DragPath
impl<'de> Deserialize<'de> for DragPath
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
Auto Trait Implementations§
impl Freeze for DragPath
impl RefUnwindSafe for DragPath
impl Send for DragPath
impl Sync for DragPath
impl Unpin for DragPath
impl UnsafeUnpin for DragPath
impl UnwindSafe for DragPath
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