pub struct DestinationSchema {
pub x: i32,
pub y: i32,
}Fields§
§x: i32The x coordinate of the destination.
y: i32The y coordinate of the destination.
Implementations§
Source§impl DestinationSchema
impl DestinationSchema
pub fn new(x: i32, y: i32) -> DestinationSchema
Trait Implementations§
Source§impl Clone for DestinationSchema
impl Clone for DestinationSchema
Source§fn clone(&self) -> DestinationSchema
fn clone(&self) -> DestinationSchema
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 moreSource§impl Debug for DestinationSchema
impl Debug for DestinationSchema
Source§impl Default for DestinationSchema
impl Default for DestinationSchema
Source§fn default() -> DestinationSchema
fn default() -> DestinationSchema
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DestinationSchema
impl<'de> Deserialize<'de> for DestinationSchema
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
Source§impl PartialEq for DestinationSchema
impl PartialEq for DestinationSchema
Source§impl Serialize for DestinationSchema
impl Serialize for DestinationSchema
impl StructuralPartialEq for DestinationSchema
Auto Trait Implementations§
impl Freeze for DestinationSchema
impl RefUnwindSafe for DestinationSchema
impl Send for DestinationSchema
impl Sync for DestinationSchema
impl Unpin for DestinationSchema
impl UnwindSafe for DestinationSchema
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