Struct shapefile::record::point::PointM [−][src]
Point with x
, y
, m
Fields
x: f64
y: f64
m: f64
Implementations
impl PointM
[src]
impl PointM
[src]pub fn new(x: f64, y: f64, m: f64) -> Self
[src]
Creates a new pointM
Examples
use shapefile::PointM; let point = PointM::new(1.0, 42.0, 13.37); assert_eq!(point.x, 1.0); assert_eq!(point.y, 42.0); assert_eq!(point.m, 13.37);
use shapefile::{PointM, NO_DATA}; let point = PointM::default(); assert_eq!(point.x, 0.0); assert_eq!(point.y, 0.0); assert_eq!(point.m, NO_DATA);
Trait Implementations
impl ConcreteReadableShape for PointM
[src]
impl ConcreteReadableShape for PointM
[src]impl ConcreteShape for PointM
[src]
impl ConcreteShape for PointM
[src]impl From<Coordinate<f64>> for PointM
[src]
impl From<Coordinate<f64>> for PointM
[src]fn from(c: Coordinate<f64>) -> Self
[src]
impl StructuralPartialEq for PointM
[src]
impl StructuralPartialEq for PointM
[src]Auto Trait Implementations
impl RefUnwindSafe for PointM
impl RefUnwindSafe for PointM
impl UnwindSafe for PointM
impl UnwindSafe for PointM