[−][src]Struct shapefile::record::point::PointM
Point with x
, y
, m
Fields
x: f64
y: f64
m: f64
Methods
impl PointM
[src]
pub fn new(x: f64, y: f64, m: f64) -> Self
[src]
Creates a new pointM
Examples
use shapefile::{PointM, NO_DATA}; let point = PointM::new(1.0, 42.0, NO_DATA); assert_eq!(point.x, 1.0); assert_eq!(point.y, 42.0); assert_eq!(point.m, NO_DATA);
Trait Implementations
impl Clone for PointM
[src]
impl ConcreteReadableShape for PointM
[src]
impl ConcreteShape for PointM
[src]
impl Copy for PointM
[src]
impl Debug for PointM
[src]
impl Default for PointM
[src]
impl Display for PointM
[src]
impl EsriShape for PointM
[src]
impl From<Coordinate<f64>> for PointM
[src]
impl From<Point<f64>> for PointM
[src]
impl From<PointM> for Point<f64>
[src]
impl From<PointM> for Coordinate<f64>
[src]
impl From<PointM> for Shape
[src]
impl HasShapeType for PointM
[src]
impl HasXY for PointM
[src]
impl MultipointShape<PointM> for PointM
[src]
fn point<I: SliceIndex<[PointM]>>(
&self,
index: I
) -> Option<&<I as SliceIndex<[PointM]>>::Output>
[src]
&self,
index: I
) -> Option<&<I as SliceIndex<[PointM]>>::Output>
fn points(&self) -> &[PointM]
[src]
impl PartialEq<PointM> for PointM
[src]
impl StructuralPartialEq for PointM
[src]
impl TryFrom<Shape> for PointM
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(shape: Shape) -> Result<Self, Self::Error>
[src]
impl WritableShape for PointM
[src]
Auto Trait Implementations
impl RefUnwindSafe for PointM
impl Send for PointM
impl Sync for PointM
impl Unpin for PointM
impl UnwindSafe for PointM
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<S> ReadableShape for S where
S: ConcreteReadableShape,
[src]
S: ConcreteReadableShape,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,