[−][src]Struct df_st_core::positions::Coordinate
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: i32
x: i32
y: i32
Implementations
impl Coordinate
[src]
Trait Implementations
impl Clone for Coordinate
[src]
fn clone(&self) -> Coordinate
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for Coordinate
[src]
Force a new format for Coordinate
to not clutter the screen
impl Default for Coordinate
[src]
fn default() -> Coordinate
[src]
impl<'de> Deserialize<'de> for Coordinate
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Display for Coordinate
[src]
impl Fillable for Coordinate
[src]
impl Filler<Coordinate, Coordinate> for Coordinate
[src]
fn add_missing_data(&mut self, source: &Coordinate)
[src]
fn never_replace_data(&mut self, source: &Coordinate)
[src]
fn replace_data(&mut self, source: &Coordinate)
[src]
fn add_missing_data_indexed(&mut self, source: &S, _index: u64)
[src]
fn check_mergeable(&self, source: &S) -> bool where
Self: Debug + Default + PartialEq<Self>,
S: PartialEq<Self> + Debug,
[src]
Self: Debug + Default + PartialEq<Self>,
S: PartialEq<Self> + Debug,
impl<__S> GraphQLType<__S> for Coordinate where
__S: ScalarValue,
&'__b __S: ScalarRefValue<'__b>,
[src]
__S: ScalarValue,
&'__b __S: ScalarRefValue<'__b>,
type Context = ()
The expected context type for this GraphQL type Read more
type TypeInfo = ()
Type that may carry additional schema information Read more
fn name(_: &Self::TypeInfo) -> Option<&str>
[src]
fn meta<'r>(
info: &Self::TypeInfo,
registry: &mut Registry<'r, __S>
) -> MetaType<'r, __S> where
__S: 'r,
&'z __S: ScalarRefValue<'z>,
[src]
info: &Self::TypeInfo,
registry: &mut Registry<'r, __S>
) -> MetaType<'r, __S> where
__S: 'r,
&'z __S: ScalarRefValue<'z>,
fn resolve_field(
&self,
_info: &(),
field: &str,
args: &Arguments<'_, __S>,
executor: &Executor<'_, Self::Context, __S>
) -> ExecutionResult<__S>
[src]
&self,
_info: &(),
field: &str,
args: &Arguments<'_, __S>,
executor: &Executor<'_, Self::Context, __S>
) -> ExecutionResult<__S>
fn concrete_type_name(&self, _: &Self::Context, _: &Self::TypeInfo) -> String
[src]
fn resolve_into_type(
&self,
info: &Self::TypeInfo,
type_name: &str,
selection_set: Option<&[Selection<'_, S>]>,
executor: &Executor<'_, Self::Context, S>
) -> Result<Value<S>, FieldError<S>>
[src]
&self,
info: &Self::TypeInfo,
type_name: &str,
selection_set: Option<&[Selection<'_, S>]>,
executor: &Executor<'_, Self::Context, S>
) -> Result<Value<S>, FieldError<S>>
fn resolve(
&self,
info: &Self::TypeInfo,
selection_set: Option<&[Selection<'_, S>]>,
executor: &Executor<'_, Self::Context, S>
) -> Value<S>
[src]
&self,
info: &Self::TypeInfo,
selection_set: Option<&[Selection<'_, S>]>,
executor: &Executor<'_, Self::Context, S>
) -> Value<S>
impl HasUnknown for Coordinate
[src]
fn print_unknown(&self, _prefix: &str, _unknown_map: &mut HashMap<String, u32>)
[src]
fn combine_unknown(
&self,
_prefix: &str,
_unknown_combiner: &mut HashMap<String, Vec<(String, Value)>>
)
[src]
&self,
_prefix: &str,
_unknown_combiner: &mut HashMap<String, Vec<(String, Value)>>
)
fn update_unknown_prefix(&self, prefix: &str, struct_name: &str) -> String
[src]
fn print_unknown_list(
&self,
list: &HashMap<String, Value>,
prefix: &str,
unknown_map: &mut HashMap<String, u32>
)
[src]
&self,
list: &HashMap<String, Value>,
prefix: &str,
unknown_map: &mut HashMap<String, u32>
)
fn combine_unknown_list(
&self,
list: &HashMap<String, Value>,
prefix: &str,
unknown_combiner: &mut HashMap<String, Vec<(String, Value)>>
)
[src]
&self,
list: &HashMap<String, Value>,
prefix: &str,
unknown_combiner: &mut HashMap<String, Vec<(String, Value)>>
)
impl Hash for Coordinate
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl JsonSchema for Coordinate
[src]
fn schema_name() -> String
[src]
fn json_schema(gen: &mut SchemaGenerator) -> Schema
[src]
fn is_referenceable() -> bool
impl PartialEq<Coordinate> for Coordinate
[src]
fn eq(&self, other: &Coordinate) -> bool
[src]
fn ne(&self, other: &Coordinate) -> bool
[src]
impl SchemaExample for Coordinate
[src]
impl Serialize for Coordinate
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> DynClone for T where
T: Clone,
[src]
T: Clone,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,