Function diesel_mysql_spatial::functions::ST_Centroid
source · [−]pub fn ST_Centroid<G: Into<Geometry>, poly>(
poly: poly
) -> ST_Centroid<G, <poly as AsExpression<G>>::Expression> where
poly: AsExpression<G>, Expand description
Represents the MySQL ST_Centroid function