[][src]Struct df_st_core::positions::Coordinate

pub struct Coordinate {
    pub id: i32,
    pub x: i32,
    pub y: i32,
}

A coordinate of a region tile The coordinates are of region tiles (129x129 for medium maps) More info about region tiles can be found here.

Fields

id: i32x: i32y: i32

Implementations

impl Coordinate[src]

pub fn new() -> Self[src]

Trait Implementations

impl Clone for Coordinate[src]

impl Debug for Coordinate[src]

Force a new format for Coordinate to not clutter the screen

impl Default for Coordinate[src]

impl<'de> Deserialize<'de> for Coordinate[src]

impl Display for Coordinate[src]

impl Fillable for Coordinate[src]

impl Filler<Coordinate, Coordinate> for Coordinate[src]

impl<__S> GraphQLType<__S> for Coordinate where
    __S: ScalarValue,
    &'__b __S: ScalarRefValue<'__b>, 
[src]

type Context = ()

The expected context type for this GraphQL type Read more

type TypeInfo = ()

Type that may carry additional schema information Read more

impl HasUnknown for Coordinate[src]

impl Hash for Coordinate[src]

impl JsonSchema for Coordinate[src]

impl PartialEq<Coordinate> for Coordinate[src]

impl SchemaExample for Coordinate[src]

impl Serialize for Coordinate[src]

impl StructuralPartialEq for Coordinate[src]

Auto Trait Implementations

impl RefUnwindSafe for Coordinate

impl Send for Coordinate

impl Sync for Coordinate

impl Unpin for Coordinate

impl UnwindSafe for Coordinate

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> DynClone for T where
    T: Clone
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.