pub struct Rect<'a> { /* private fields */ }
Expand description
An Arrow equivalent of a Rect
This implements RectTrait, which you can use to extract data.
Trait Implementations§
Source§impl GeometryTrait for &Rect<'_>
impl GeometryTrait for &Rect<'_>
Source§type PointType<'b> = Point<'b>
where
Self: 'b
type PointType<'b> = Point<'b> where Self: 'b
The type of each underlying Point, which implements PointTrait
Source§type LineStringType<'b> = LineString<'b>
where
Self: 'b
type LineStringType<'b> = LineString<'b> where Self: 'b
The type of each underlying LineString, which implements LineStringTrait
Source§type PolygonType<'b> = Polygon<'b>
where
Self: 'b
type PolygonType<'b> = Polygon<'b> where Self: 'b
The type of each underlying Polygon, which implements PolygonTrait
Source§type MultiPointType<'b> = MultiPoint<'b>
where
Self: 'b
type MultiPointType<'b> = MultiPoint<'b> where Self: 'b
The type of each underlying MultiPoint, which implements MultiPointTrait
Source§type MultiLineStringType<'b> = MultiLineString<'b>
where
Self: 'b
type MultiLineStringType<'b> = MultiLineString<'b> where Self: 'b
The type of each underlying MultiLineString, which implements MultiLineStringTrait
Source§type MultiPolygonType<'b> = MultiPolygon<'b>
where
Self: 'b
type MultiPolygonType<'b> = MultiPolygon<'b> where Self: 'b
The type of each underlying MultiPolygon, which implements MultiPolygonTrait
Source§type GeometryCollectionType<'b> = GeometryCollection<'b>
where
Self: 'b
type GeometryCollectionType<'b> = GeometryCollection<'b> where Self: 'b
The type of each underlying GeometryCollection, which implements GeometryCollectionTrait
Source§type RectType<'b> = Rect<'b>
where
Self: 'b
type RectType<'b> = Rect<'b> where Self: 'b
The type of each underlying Rect, which implements RectTrait
Source§type LineType<'b> = UnimplementedLine<f64>
where
Self: 'b
type LineType<'b> = UnimplementedLine<f64> where Self: 'b
The type of each underlying Line, which implements LineTrait
Source§type TriangleType<'b> = UnimplementedTriangle<f64>
where
Self: 'b
type TriangleType<'b> = UnimplementedTriangle<f64> where Self: 'b
The type of each underlying Triangle, which implements TriangleTrait
Source§fn dim(&self) -> Dimensions
fn dim(&self) -> Dimensions
The dimension of this geometry
Source§fn as_type(
&self,
) -> GeometryType<'_, Self::PointType<'_>, Self::LineStringType<'_>, Self::PolygonType<'_>, Self::MultiPointType<'_>, Self::MultiLineStringType<'_>, Self::MultiPolygonType<'_>, Self::GeometryCollectionType<'_>, Self::RectType<'_>, Self::TriangleType<'_>, Self::LineType<'_>>
fn as_type( &self, ) -> GeometryType<'_, Self::PointType<'_>, Self::LineStringType<'_>, Self::PolygonType<'_>, Self::MultiPointType<'_>, Self::MultiLineStringType<'_>, Self::MultiPolygonType<'_>, Self::GeometryCollectionType<'_>, Self::RectType<'_>, Self::TriangleType<'_>, Self::LineType<'_>>
Cast this geometry to a
GeometryType
enum, which allows for downcasting to a specific
typeSource§impl GeometryTrait for Rect<'_>
impl GeometryTrait for Rect<'_>
Source§type PointType<'b> = Point<'b>
where
Self: 'b
type PointType<'b> = Point<'b> where Self: 'b
The type of each underlying Point, which implements PointTrait
Source§type LineStringType<'b> = LineString<'b>
where
Self: 'b
type LineStringType<'b> = LineString<'b> where Self: 'b
The type of each underlying LineString, which implements LineStringTrait
Source§type PolygonType<'b> = Polygon<'b>
where
Self: 'b
type PolygonType<'b> = Polygon<'b> where Self: 'b
The type of each underlying Polygon, which implements PolygonTrait
Source§type MultiPointType<'b> = MultiPoint<'b>
where
Self: 'b
type MultiPointType<'b> = MultiPoint<'b> where Self: 'b
The type of each underlying MultiPoint, which implements MultiPointTrait
Source§type MultiLineStringType<'b> = MultiLineString<'b>
where
Self: 'b
type MultiLineStringType<'b> = MultiLineString<'b> where Self: 'b
The type of each underlying MultiLineString, which implements MultiLineStringTrait
Source§type MultiPolygonType<'b> = MultiPolygon<'b>
where
Self: 'b
type MultiPolygonType<'b> = MultiPolygon<'b> where Self: 'b
The type of each underlying MultiPolygon, which implements MultiPolygonTrait
Source§type GeometryCollectionType<'b> = GeometryCollection<'b>
where
Self: 'b
type GeometryCollectionType<'b> = GeometryCollection<'b> where Self: 'b
The type of each underlying GeometryCollection, which implements GeometryCollectionTrait
Source§type RectType<'b> = Rect<'b>
where
Self: 'b
type RectType<'b> = Rect<'b> where Self: 'b
The type of each underlying Rect, which implements RectTrait
Source§type LineType<'b> = UnimplementedLine<f64>
where
Self: 'b
type LineType<'b> = UnimplementedLine<f64> where Self: 'b
The type of each underlying Line, which implements LineTrait
Source§type TriangleType<'b> = UnimplementedTriangle<f64>
where
Self: 'b
type TriangleType<'b> = UnimplementedTriangle<f64> where Self: 'b
The type of each underlying Triangle, which implements TriangleTrait
Source§fn dim(&self) -> Dimensions
fn dim(&self) -> Dimensions
The dimension of this geometry
Source§fn as_type(
&self,
) -> GeometryType<'_, Self::PointType<'_>, Self::LineStringType<'_>, Self::PolygonType<'_>, Self::MultiPointType<'_>, Self::MultiLineStringType<'_>, Self::MultiPolygonType<'_>, Self::GeometryCollectionType<'_>, Self::RectType<'_>, Self::TriangleType<'_>, Self::LineType<'_>>
fn as_type( &self, ) -> GeometryType<'_, Self::PointType<'_>, Self::LineStringType<'_>, Self::PolygonType<'_>, Self::MultiPointType<'_>, Self::MultiLineStringType<'_>, Self::MultiPolygonType<'_>, Self::GeometryCollectionType<'_>, Self::RectType<'_>, Self::TriangleType<'_>, Self::LineType<'_>>
Cast this geometry to a
GeometryType
enum, which allows for downcasting to a specific
typeSource§impl GeozeroGeometry for Rect<'_>
Available on crate feature geozero
only.
impl GeozeroGeometry for Rect<'_>
Available on crate feature
geozero
only.Auto Trait Implementations§
impl<'a> Freeze for Rect<'a>
impl<'a> RefUnwindSafe for Rect<'a>
impl<'a> Send for Rect<'a>
impl<'a> Sync for Rect<'a>
impl<'a> Unpin for Rect<'a>
impl<'a> UnwindSafe for Rect<'a>
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> ToGeo for Twhere
T: GeozeroGeometry,
impl<T> ToGeo for Twhere
T: GeozeroGeometry,
Source§impl<T, G> ToGeoGeometry<T> for Gwhere
T: CoordNum,
G: GeometryTrait<T = T>,
impl<T, G> ToGeoGeometry<T> for Gwhere
T: CoordNum,
G: GeometryTrait<T = T>,
Source§impl<T> ToGeometryArray for Twhere
T: GeozeroGeometry,
impl<T> ToGeometryArray for Twhere
T: GeozeroGeometry,
Source§fn to_geometry_builder(
&self,
typ: GeometryType,
) -> Result<GeometryBuilder, GeozeroError>
fn to_geometry_builder( &self, typ: GeometryType, ) -> Result<GeometryBuilder, GeozeroError>
Available on crate feature
geozero
only.Convert to a GeoArrow
GeometryBuilder
Source§fn to_geometry_array(&self, typ: GeometryType) -> Result<GeometryArray>
fn to_geometry_array(&self, typ: GeometryType) -> Result<GeometryArray>
Available on crate feature
geozero
only.Convert to GeoArrow
GeometryArray
Source§impl<T> ToJson for Twhere
T: GeozeroGeometry,
impl<T> ToJson for Twhere
T: GeozeroGeometry,
Source§impl<T> ToLineStringArray for Twhere
T: GeozeroGeometry,
impl<T> ToLineStringArray for Twhere
T: GeozeroGeometry,
Source§fn to_line_string_builder(
&self,
typ: LineStringType,
) -> Result<LineStringBuilder, GeozeroError>
fn to_line_string_builder( &self, typ: LineStringType, ) -> Result<LineStringBuilder, GeozeroError>
Available on crate feature
geozero
only.Convert to a GeoArrow LineStringBuilder
Source§fn to_line_string_array(&self, typ: LineStringType) -> Result<LineStringArray>
fn to_line_string_array(&self, typ: LineStringType) -> Result<LineStringArray>
Available on crate feature
geozero
only.Convert to GeoArrow LineStringArray
Source§impl<T> ToMultiLineStringArray for Twhere
T: GeozeroGeometry,
impl<T> ToMultiLineStringArray for Twhere
T: GeozeroGeometry,
Source§fn to_multi_line_string_builder(
&self,
typ: MultiLineStringType,
) -> Result<MultiLineStringBuilder, GeozeroError>
fn to_multi_line_string_builder( &self, typ: MultiLineStringType, ) -> Result<MultiLineStringBuilder, GeozeroError>
Available on crate feature
geozero
only.Convert to a GeoArrow MultiLineStringBuilder
Source§fn to_multi_line_string_array(
&self,
typ: MultiLineStringType,
) -> Result<MultiLineStringArray>
fn to_multi_line_string_array( &self, typ: MultiLineStringType, ) -> Result<MultiLineStringArray>
Available on crate feature
geozero
only.Convert to GeoArrow MultiLineStringArray
Source§impl<T> ToMultiPointArray for Twhere
T: GeozeroGeometry,
impl<T> ToMultiPointArray for Twhere
T: GeozeroGeometry,
Source§fn to_multi_point_builder(
&self,
typ: MultiPointType,
) -> Result<MultiPointBuilder, GeozeroError>
fn to_multi_point_builder( &self, typ: MultiPointType, ) -> Result<MultiPointBuilder, GeozeroError>
Available on crate feature
geozero
only.Convert to a GeoArrow MultiPointBuilder
Source§fn to_multi_point_array(&self, typ: MultiPointType) -> Result<MultiPointArray>
fn to_multi_point_array(&self, typ: MultiPointType) -> Result<MultiPointArray>
Available on crate feature
geozero
only.Convert to GeoArrow MultiPointArray
Source§impl<T> ToMultiPolygonArray for Twhere
T: GeozeroGeometry,
impl<T> ToMultiPolygonArray for Twhere
T: GeozeroGeometry,
Source§fn to_multi_polygon_array(
&self,
typ: MultiPolygonType,
) -> Result<MultiPolygonArray, GeozeroError>
fn to_multi_polygon_array( &self, typ: MultiPolygonType, ) -> Result<MultiPolygonArray, GeozeroError>
Available on crate feature
geozero
only.Convert to GeoArrow MultiPolygonArray
Source§fn to_multi_polygon_builder(
&self,
typ: MultiPolygonType,
) -> Result<MultiPolygonBuilder, GeozeroError>
fn to_multi_polygon_builder( &self, typ: MultiPolygonType, ) -> Result<MultiPolygonBuilder, GeozeroError>
Available on crate feature
geozero
only.Convert to a GeoArrow MultiPolygonBuilder
Source§impl<T> ToPointArray for Twhere
T: GeozeroGeometry,
impl<T> ToPointArray for Twhere
T: GeozeroGeometry,
Source§fn to_point_builder(&self, typ: PointType) -> Result<PointBuilder, GeozeroError>
fn to_point_builder(&self, typ: PointType) -> Result<PointBuilder, GeozeroError>
Available on crate feature
geozero
only.Convert to a GeoArrow PointBuilder
Source§fn to_point_array(&self, typ: PointType) -> Result<PointArray>
fn to_point_array(&self, typ: PointType) -> Result<PointArray>
Available on crate feature
geozero
only.Convert to GeoArrow PointArray
Source§impl<T> ToPolygonArray for Twhere
T: GeozeroGeometry,
impl<T> ToPolygonArray for Twhere
T: GeozeroGeometry,
Source§fn to_polygon_builder(
&self,
typ: PolygonType,
) -> Result<PolygonBuilder, GeozeroError>
fn to_polygon_builder( &self, typ: PolygonType, ) -> Result<PolygonBuilder, GeozeroError>
Available on crate feature
geozero
only.Convert to a GeoArrow PolygonBuilder
Source§fn to_polygon_array(&self, typ: PolygonType) -> Result<PolygonArray>
fn to_polygon_array(&self, typ: PolygonType) -> Result<PolygonArray>
Available on crate feature
geozero
only.Convert to GeoArrow PolygonArray
Source§impl<T> ToSvg for Twhere
T: GeozeroGeometry,
impl<T> ToSvg for Twhere
T: GeozeroGeometry,
Source§fn to_svg_document(&self) -> Result<String, GeozeroError>
fn to_svg_document(&self) -> Result<String, GeozeroError>
Convert to SVG document.
Source§impl<T> ToWkt for Twhere
T: GeozeroGeometry,
impl<T> ToWkt for Twhere
T: GeozeroGeometry,
Source§fn to_wkt_ndim(&self, dims: CoordDimensions) -> Result<String, GeozeroError>
fn to_wkt_ndim(&self, dims: CoordDimensions) -> Result<String, GeozeroError>
Convert to WKT String with dimensions.
Source§fn to_wkt_with_opts(
&self,
dialect: WktDialect,
dims: CoordDimensions,
srid: Option<i32>,
) -> Result<String, GeozeroError>
fn to_wkt_with_opts( &self, dialect: WktDialect, dims: CoordDimensions, srid: Option<i32>, ) -> Result<String, GeozeroError>
Convert to WKT String with srid, dimensions and dialect.