pub struct GeometryCollection {
pub srid: SRID,
pub geom: GeometryCollection<f64>,
}
Expand description
A collection of Geometry
types.
MySQL extension: The spatial reference system identifier (SRID) may identify the used coordinate system.
Fields§
§srid: SRID
§geom: GeometryCollection<f64>
Implementations§
Methods from Deref<Target = GeometryCollection<f64>>§
Trait Implementations§
Source§impl AsMut<GeometryCollection> for GeometryCollection
impl AsMut<GeometryCollection> for GeometryCollection
Source§fn as_mut(&mut self) -> &mut GeometryCollection<f64>
fn as_mut(&mut self) -> &mut GeometryCollection<f64>
Converts this type into a mutable reference of the (usually inferred) input type.
Source§impl AsRef<GeometryCollection> for GeometryCollection
impl AsRef<GeometryCollection> for GeometryCollection
Source§fn as_ref(&self) -> &GeometryCollection<f64>
fn as_ref(&self) -> &GeometryCollection<f64>
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for GeometryCollection
impl Clone for GeometryCollection
Source§fn clone(&self) -> GeometryCollection
fn clone(&self) -> GeometryCollection
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 GeometryCollection
impl Debug for GeometryCollection
Source§impl Default for GeometryCollection
impl Default for GeometryCollection
Source§impl Deref for GeometryCollection
impl Deref for GeometryCollection
Source§impl DerefMut for GeometryCollection
impl DerefMut for GeometryCollection
Source§impl From<GeometryCollection> for Geometry
impl From<GeometryCollection> for Geometry
Source§fn from(other: GeometryCollection) -> Self
fn from(other: GeometryCollection) -> Self
Converts to this type from the input type.
Source§impl From<GeometryCollection> for GeometryCollection
impl From<GeometryCollection> for GeometryCollection
Source§fn from(geom: GeometryCollection<f64>) -> Self
fn from(geom: GeometryCollection<f64>) -> Self
Converts to this type from the input type.
Source§impl FromSql<GeometryCollection, Mysql> for GeometryCollection
impl FromSql<GeometryCollection, Mysql> for GeometryCollection
Source§impl<__ST, __DB> FromSqlRow<__ST, __DB> for GeometryCollection
impl<__ST, __DB> FromSqlRow<__ST, __DB> for GeometryCollection
Source§const FIELDS_NEEDED: usize = 1usize
const FIELDS_NEEDED: usize = 1usize
The number of fields that this type will consume. Must be equal to
the number of times you would call
row.take()
in build_from_row
Source§impl PartialEq for GeometryCollection
impl PartialEq for GeometryCollection
Source§impl<__ST, __DB> Queryable<__ST, __DB> for GeometryCollection
impl<__ST, __DB> Queryable<__ST, __DB> for GeometryCollection
Source§impl ToSql<GeometryCollection, Mysql> for GeometryCollection
impl ToSql<GeometryCollection, Mysql> for GeometryCollection
Source§impl TryFrom<Geometry> for GeometryCollection
impl TryFrom<Geometry> for GeometryCollection
impl StructuralPartialEq for GeometryCollection
Auto Trait Implementations§
impl Freeze for GeometryCollection
impl RefUnwindSafe for GeometryCollection
impl Send for GeometryCollection
impl Sync for GeometryCollection
impl Unpin for GeometryCollection
impl UnwindSafe for GeometryCollection
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoSql for T
impl<T> IntoSql for T
Source§fn into_sql<T>(self) -> Self::Expressionwhere
Self: Sized + AsExpression<T>,
fn into_sql<T>(self) -> Self::Expressionwhere
Self: Sized + AsExpression<T>,
Convert
self
to an expression for Diesel’s query builder. Read moreSource§fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expressionwhere
&'a Self: AsExpression<T>,
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expressionwhere
&'a Self: AsExpression<T>,
Convert
&self
to an expression for Diesel’s query builder. Read more