[][src]Enum shapefile::record::Shape

pub enum Shape {
    NullShape,
    Point(Point),
    PointM(PointM),
    PointZ(PointZ),
    Polyline(Polyline),
    PolylineM(PolylineM),
    PolylineZ(PolylineZ),
    Polygon(Polygon),
    PolygonM(PolygonM),
    PolygonZ(PolygonZ),
    Multipoint(Multipoint),
    MultipointM(MultipointM),
    MultipointZ(MultipointZ),
    Multipatch(Multipatch),
}

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

Variants

NullShapePoint(Point)PointM(PointM)PointZ(PointZ)Polyline(Polyline)PolylineM(PolylineM)PolylineZ(PolylineZ)Polygon(Polygon)PolygonM(PolygonM)PolygonZ(PolygonZ)Multipoint(Multipoint)MultipointM(MultipointM)MultipointZ(MultipointZ)Multipatch(Multipatch)

Methods

impl Shape
[src]

pub fn shapetype(&self) -> ShapeType
[src]

Returns the shapetype

Trait Implementations

impl HasShapeType for Shape
[src]

impl ReadableShape for Shape
[src]

type ReadShape = Self

impl From<Point> for Shape
[src]

impl From<PointM> for Shape
[src]

impl From<PointZ> for Shape
[src]

impl From<GenericPolyline<Point>> for Shape
[src]

impl From<GenericPolyline<PointM>> for Shape
[src]

impl From<GenericPolyline<PointZ>> for Shape
[src]

impl From<GenericPolygon<Point>> for Shape
[src]

impl From<GenericPolygon<PointM>> for Shape
[src]

impl From<GenericPolygon<PointZ>> for Shape
[src]

impl From<GenericMultipoint<Point>> for Shape
[src]

impl From<GenericMultipoint<PointM>> for Shape
[src]

impl From<GenericMultipoint<PointZ>> for Shape
[src]

impl From<Multipatch> for Shape
[src]

impl Display for Shape
[src]

Auto Trait Implementations

impl Send for Shape

impl Sync for Shape

Blanket Implementations

impl<S> ReadableShape for S where
    S: ConcreteReadableShape
[src]

type ReadShape = <S as ConcreteShape>::ActualShape

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]