[][src]Struct shapefile::record::point::PointZ

pub struct PointZ {
    pub x: f64,
    pub y: f64,
    pub z: f64,
    pub m: f64,
}

Point with x, y, m, z

Fields

x: f64y: f64z: f64m: f64

Methods

impl PointZ[src]

pub fn new(x: f64, y: f64, z: f64, m: f64) -> Self[src]

Creates a new pointZ

Examples

use shapefile::{PointZ, NO_DATA};
let point = PointZ::new(1.0, 42.0, 13.37, NO_DATA);
assert_eq!(point.x, 1.0);
assert_eq!(point.y, 42.0);
assert_eq!(point.z, 13.37);
assert_eq!(point.m, NO_DATA);

Trait Implementations

impl Clone for PointZ[src]

impl ConcreteReadableShape for PointZ[src]

impl ConcreteShape for PointZ[src]

impl Copy for PointZ[src]

impl Debug for PointZ[src]

impl Default for PointZ[src]

impl Display for PointZ[src]

impl EsriShape for PointZ[src]

impl From<Coordinate<f64>> for PointZ[src]

impl From<Point<f64>> for PointZ[src]

impl From<PointZ> for Point<f64>[src]

impl From<PointZ> for Coordinate<f64>[src]

impl From<PointZ> for Shape[src]

impl HasShapeType for PointZ[src]

impl HasXY for PointZ[src]

impl MultipartShape<PointZ> for Multipatch[src]

impl MultipointShape<PointZ> for Multipatch[src]

impl MultipointShape<PointZ> for PointZ[src]

impl PartialEq<PointZ> for PointZ[src]

impl StructuralPartialEq for PointZ[src]

impl TryFrom<Shape> for PointZ[src]

type Error = Error

The type returned in the event of a conversion error.

impl WritableShape for PointZ[src]

Auto Trait Implementations

impl RefUnwindSafe for PointZ

impl Send for PointZ

impl Sync for PointZ

impl Unpin for PointZ

impl UnwindSafe for PointZ

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.