diesel_mysql_spatial/
helper_types.rs

1#![allow(non_camel_case_types)]
2use super::functions;
3
4/// The return type of [`ST_Dimension(…)`][`functions::ST_Dimension()`]
5pub type ST_Dimension<G, Expr1> = functions::ST_Dimension::HelperType<G, Expr1>;
6
7/// The return type of [`ST_Envelope(…)`][`functions::ST_Envelope()`]
8pub type ST_Envelope<G, Expr1> = functions::ST_Envelope::HelperType<G, Expr1>;
9
10/// The return type of [`ST_GeometryType(…)`][`functions::ST_GeometryType()`]
11pub type ST_GeometryType<G, Expr1> = functions::ST_GeometryType::HelperType<G, Expr1>;
12
13/// The return type of [`ST_IsEmpty(…)`][`functions::ST_IsEmpty()`]
14pub type ST_IsEmpty<G, Expr1> = functions::ST_IsEmpty::HelperType<G, Expr1>;
15
16/// The return type of [`ST_IsSimple(…)`][`functions::ST_IsSimple()`]
17pub type ST_IsSimple<G, Expr1> = functions::ST_IsSimple::HelperType<G, Expr1>;
18
19/// The return type of [`ST_SRID(…)`][`functions::ST_SRID()]
20pub type ST_SRID<G, Expr1> = functions::ST_SRID::HelperType<G, Expr1>;
21
22/// The return type of [`ST_SRID_2(…)`][`functions::ST_SRID_2()`]
23pub type ST_SRID_2<G, Expr1, Expr2> = functions::ST_SRID_2::HelperType<G, Expr1, Expr2>;
24
25/// The return type of [`ST_Transform(…)`][`functions::ST_Transform()`]
26pub type ST_Transform<G, Expr1, Expr2> = functions::ST_Transform::HelperType<G, Expr1, Expr2>;
27
28/// The return type of [`ST_Latitude(…)`][`functions::ST_Latitude()`]
29pub type ST_Latitude<Expr> = functions::ST_Latitude::HelperType<Expr>;
30
31/// The return type of [`ST_Longitude(…)`][`functions::ST_Longitude()`]
32pub type ST_Longitude<Expr> = functions::ST_Longitude::HelperType<Expr>;
33
34/// The return type of [`ST_Latitude_2(…)`][`functions::ST_Latitude_2()`]
35pub type ST_Latitude_2<Expr1, Expr2> = functions::ST_Latitude_2::HelperType<Expr1, Expr2>;
36
37/// The return type of [`ST_Longitude_2(…)`][`functions::ST_Longitude_2()`]
38pub type ST_Longitude_2<Expr1, Expr2> = functions::ST_Longitude_2::HelperType<Expr1, Expr2>;
39
40/// The return type of [`ST_X(…)`][`functions::ST_X()`]
41pub type ST_X<Expr> = functions::ST_X::HelperType<Expr>;
42
43/// The return type of [`ST_Y(…)`][`functions::ST_Y()`]
44pub type ST_Y<Expr> = functions::ST_Y::HelperType<Expr>;
45
46/// The return type of [`ST_X_2(…)`][`functions::ST_X_2()`]
47pub type ST_X_2<Expr1, Expr2> = functions::ST_X_2::HelperType<Expr1, Expr2>;
48
49/// The return type of [`ST_Y_2(…)`][`functions::ST_Y_2()`]
50pub type ST_Y_2<Expr1, Expr2> = functions::ST_Y_2::HelperType<Expr1, Expr2>;
51
52/// The return type of [`ST_EndPoint(…)`][`functions::ST_EndPoint()`]
53pub type ST_EndPoint<Expr> = functions::ST_EndPoint::HelperType<Expr>;
54
55/// The return type of [`ST_IsClosed(…)`][`functions::ST_IsClosed()`]
56pub type ST_IsClosed<G, Expr1> = functions::ST_IsClosed::HelperType<G, Expr1>;
57
58/// The return type of [`ST_Length(…)`][`functions::ST_Length()`]
59pub type ST_Length<G, Expr1> = functions::ST_Length::HelperType<G, Expr1>;
60
61/// The return type of [`ST_NumPoints(…)`][`functions::ST_NumPoints()`]
62pub type ST_NumPoints<Expr> = functions::ST_NumPoints::HelperType<Expr>;
63
64/// The return type of [`ST_PointN(…)`][`functions::ST_PointN()`]
65pub type ST_PointN<Expr1, Expr2> = functions::ST_PointN::HelperType<Expr1, Expr2>;
66
67/// The return type of [`ST_StartPoint(…)`][`functions::ST_StartPoint()`]
68pub type ST_StartPoint<Expr> = functions::ST_StartPoint::HelperType<Expr>;
69
70/// The return type of [`ST_Area(…)`][`functions::ST_Area()`]
71pub type ST_Area<G, Expr1> = functions::ST_Area::HelperType<G, Expr1>;
72
73/// The return type of [`ST_Centroid(…)`][`functions::ST_Centroid()`]
74pub type ST_Centroid<G, Expr1> = functions::ST_Centroid::HelperType<G, Expr1>;
75
76/// The return type of [`ST_ExteriorRing(…)`][`functions::ST_ExteriorRing()`]
77pub type ST_ExteriorRing<Expr> = functions::ST_ExteriorRing::HelperType<Expr>;
78
79/// The return type of [`ST_InteriorRingN(…)`][`functions::ST_InteriorRingN()`]
80pub type ST_InteriorRingN<Expr1, Expr2> = functions::ST_InteriorRingN::HelperType<Expr1, Expr2>;
81
82/// The return type of [`ST_NumInteriorRings(…)`][`functions::ST_NumInteriorRings()`]
83pub type ST_NumInteriorRings<Expr> = functions::ST_NumInteriorRings::HelperType<Expr>;
84
85/// The return type of [`ST_GeometryN(…)`][`functions::ST_GeometryN()`]
86pub type ST_GeometryN<Expr1, Expr2> = functions::ST_GeometryN::HelperType<Expr1, Expr2>;
87
88/// The return type of [`ST_NumGeometries(…)`][`functions::ST_NumGeometries()`]
89pub type ST_NumGeometries<Expr> = functions::ST_NumGeometries::HelperType<Expr>;
90
91/// The return type of [`ST_Buffer_Strategy(…)`][`functions::ST_Buffer_Strategy()`]
92pub type ST_Buffer_Strategy<Expr> = functions::ST_Buffer_Strategy::HelperType<Expr>;
93
94/// The return type of [`ST_Buffer_Strategy_2(…)`][`functions::ST_Buffer_Strategy_2()`]
95pub type ST_Buffer_Strategy_2<Expr1, Expr2> =
96	functions::ST_Buffer_Strategy_2::HelperType<Expr1, Expr2>;
97
98/// The return type of [`ST_Buffer(…)`][`functions::ST_Buffer()`]
99pub type ST_Buffer<G, Expr1, Expr2> = functions::ST_Buffer::HelperType<G, Expr1, Expr2>;
100
101/// The return type of [`ST_Buffer_1(…)`][`functions::ST_Buffer_1()`]
102pub type ST_Buffer_1<G, Expr1, Expr2, Expr3> =
103	functions::ST_Buffer_1::HelperType<G, Expr1, Expr2, Expr3>;
104
105/// The return type of [`ST_Buffer_2(…)`][`functions::ST_Buffer_2()`]
106pub type ST_Buffer_2<G, Expr1, Expr2, Expr3, Expr4> =
107	functions::ST_Buffer_2::HelperType<G, Expr1, Expr2, Expr3, Expr4>;
108
109/// The return type of [`ST_Buffer_3(…)`][`functions::ST_Buffer_3()`]
110pub type ST_Buffer_3<G, Expr1, Expr2, Expr3, Expr4, Expr5> =
111	functions::ST_Buffer_3::HelperType<G, Expr1, Expr2, Expr3, Expr4, Expr5>;
112
113/// The return type of [`ST_ConvexHull(…)`][`functions::ST_ConvexHull()`]
114pub type ST_ConvexHull<G, Expr1> = functions::ST_ConvexHull::HelperType<G, Expr1>;
115
116/// The return type of [`ST_Difference(…)`][`functions::ST_Difference()`]
117pub type ST_Difference<G1, G2, Expr1, Expr2> =
118	functions::ST_Difference::HelperType<G1, G2, Expr1, Expr2>;
119
120/// The return type of [`ST_Intersection(…)`][`functions::ST_Intersection()`]
121pub type ST_Intersection<G1, G2, Expr1, Expr2> =
122	functions::ST_Intersection::HelperType<G1, G2, Expr1, Expr2>;
123
124/// The return type of [`ST_SymDifference(…)`][`functions::ST_SymDifference()`]
125pub type ST_SymDifference<G1, G2, Expr1, Expr2> =
126	functions::ST_SymDifference::HelperType<G1, G2, Expr1, Expr2>;
127
128/// The return type of [`ST_Union(…)`][`functions::ST_Union()`]
129pub type ST_Union<G1, G2, Expr1, Expr2> = functions::ST_Union::HelperType<G1, G2, Expr1, Expr2>;
130
131/// The return type of [`ST_LineInterpolatePoint(…)`][`functions::ST_LineInterpolatePoint()`]
132pub type ST_LineInterpolatePoint<Expr1, Expr2> =
133	functions::ST_LineInterpolatePoint::HelperType<Expr1, Expr2>;
134
135/// The return type of [`ST_LineInterpolatePoints(…)`][`functions::ST_LineInterpolatePoints()`]
136pub type ST_LineInterpolatePoints<Expr1, Expr2> =
137	functions::ST_LineInterpolatePoints::HelperType<Expr1, Expr2>;
138
139/// The return type of [`ST_PointAtDistance(…)`][`functions::ST_PointAtDistance()`]
140pub type ST_PointAtDistance<Expr1, Expr2> = functions::ST_PointAtDistance::HelperType<Expr1, Expr2>;
141
142/// The return type of [`ST_Contains(…)`][`functions::ST_Contains()`]
143pub type ST_Contains<G1, G2, Expr1, Expr2> =
144	functions::ST_Contains::HelperType<G1, G2, Expr1, Expr2>;
145
146/// The return type of [`ST_Crosses(…)`][`functions::ST_Crosses()`]
147pub type ST_Crosses<G1, G2, Expr1, Expr2> = functions::ST_Crosses::HelperType<G1, G2, Expr1, Expr2>;
148
149/// The return type of [`ST_Disjoint(…)`][`functions::ST_Disjoint()`]
150pub type ST_Disjoint<G1, G2, Expr1, Expr2> =
151	functions::ST_Disjoint::HelperType<G1, G2, Expr1, Expr2>;
152
153/// The return type of [`ST_Distance(…)`][`functions::ST_Distance()`]
154pub type ST_Distance<G1, G2, Expr1, Expr2> =
155	functions::ST_Distance::HelperType<G1, G2, Expr1, Expr2>;
156
157/// The return type of [`ST_Equals(…)`][`functions::ST_Equals()`]
158pub type ST_Equals<G1, G2, Expr1, Expr2> = functions::ST_Equals::HelperType<G1, G2, Expr1, Expr2>;
159
160/// The return type of [`ST_Intersects(…)`][`functions::ST_Intersects()`]
161pub type ST_Intersects<G1, G2, Expr1, Expr2> =
162	functions::ST_Intersects::HelperType<G1, G2, Expr1, Expr2>;
163
164/// The return type of [`ST_Overlaps(…)`][`functions::ST_Overlaps()`]
165pub type ST_Overlaps<G1, G2, Expr1, Expr2> =
166	functions::ST_Overlaps::HelperType<G1, G2, Expr1, Expr2>;
167
168/// The return type of [`ST_Touches(…)`][`functions::ST_Touches()`]
169pub type ST_Touches<G1, G2, Expr1, Expr2> = functions::ST_Touches::HelperType<G1, G2, Expr1, Expr2>;
170
171/// The return type of [`ST_Within(…)`][`functions::ST_Within()`]
172pub type ST_Within<G1, G2, Expr1, Expr2> = functions::ST_Within::HelperType<G1, G2, Expr1, Expr2>;
173
174/// The return type of [`MBRContains(…)`][`functions::MBRContains()`]
175pub type MBRContains<G1, G2, Expr1, Expr2> =
176	functions::MBRContains::HelperType<G1, G2, Expr1, Expr2>;
177
178/// The return type of [`MBRCoveredBy(…)`][`functions::MBRCoveredBy()`]
179pub type MBRCoveredBy<G1, G2, Expr1, Expr2> =
180	functions::MBRCoveredBy::HelperType<G1, G2, Expr1, Expr2>;
181
182/// The return type of [`MBRCovers(…)`][`functions::MBRCovers()`]
183pub type MBRCovers<G1, G2, Expr1, Expr2> = functions::MBRCovers::HelperType<G1, G2, Expr1, Expr2>;
184
185/// The return type of [`MBRDisjoint(…)`][`functions::MBRDisjoint()`]
186pub type MBRDisjoint<G1, G2, Expr1, Expr2> =
187	functions::MBRDisjoint::HelperType<G1, G2, Expr1, Expr2>;
188
189/// The return type of [`MBREquals(…)`][`functions::MBREquals()`]
190pub type MBREquals<G1, G2, Expr1, Expr2> = functions::MBREquals::HelperType<G1, G2, Expr1, Expr2>;
191
192/// The return type of [`MBROverlaps(…)`][`functions::MBROverlaps()`]
193pub type MBROverlaps<G1, G2, Expr1, Expr2> =
194	functions::MBROverlaps::HelperType<G1, G2, Expr1, Expr2>;
195
196/// The return type of [`MBRTouches(…)`][`functions::MBRTouches()`]
197pub type MBRTouches<G1, G2, Expr1, Expr2> = functions::MBRTouches::HelperType<G1, G2, Expr1, Expr2>;
198
199/// The return type of [`MBRWithin(…)`][`functions::MBRWithin()`]
200pub type MBRWithin<G1, G2, Expr1, Expr2> = functions::MBRWithin::HelperType<G1, G2, Expr1, Expr2>;
201
202/// The return type of [`ST_Collect(…)`][`functions::ST_Collect()`]
203pub type ST_Collect<G, Expr1> = functions::ST_Collect::HelperType<G, Expr1>;
204
205/// The return type of [`ST_IsValid(…)`][`functions::ST_IsValid()`]
206pub type ST_IsValid<G, Expr1> = functions::ST_IsValid::HelperType<G, Expr1>;
207
208/// The return type of [`ST_Validate(…)`][`functions::ST_Validate()`]
209pub type ST_Validate<G, Expr> = functions::ST_Validate::HelperType<G, Expr>;