Module shapefile::record[][src]

Shape records

Re-exports

pub use record::bbox::BBoxZ;
pub use record::bbox::GenericBBox;
pub use record::multipatch::Multipatch;
pub use record::multipatch::Patch;
pub use record::multipoint::Multipoint;
pub use record::multipoint::MultipointM;
pub use record::multipoint::MultipointZ;
pub use record::point::Point;
pub use record::point::PointM;
pub use record::point::PointZ;
pub use record::polygon::Polygon;
pub use record::polygon::PolygonM;
pub use record::polygon::PolygonRing;
pub use record::polygon::PolygonZ;
pub use record::polyline::Polyline;
pub use record::polyline::PolylineM;
pub use record::polyline::PolylineZ;

Modules

bbox
macros
multipatch

Module for the Multipatch shape

multipoint

Module with the definition of Multipoint, MultipointM and MultipointZ

point

Module with the definition of Point, PointM and PointZ

polygon

Module with the definition of Polygon, PolygonM, PolygonZ

polyline

Module with the definition of Polyline, PolylineM, PolylineZ

traits

Enums

Shape

enum of Shapes that can be read or written to a shapefile

Constants

NO_DATA

Value inferior to this are considered as NO_DATA

Traits

ConcreteReadableShape
ConcreteShape

Simple Trait to store the type of the shape

EsriShape
HasShapeType

Traits to be able to retrieve the ShapeType corresponding to the type

ReadableShape

Trait implemented by all the Shapes that can be read

WritableShape

Trait implemented by all Shapes that can be written

Functions

convert_shapes_to_vec_of

Function that can converts a Vec<Shape> to a vector of any real struct (ie Polyline, Multipatch, etc) if all the Shapes in the Vec are of the correct corresponding variant.