[−][src]Struct shapefile::record::point::PointM
Point with x
, y
, m
Fields
x: f64
y: f64
m: f64
Methods
impl PointM
[src]
impl PointM
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 HasXY for PointM
[src]
impl HasXY for PointM
impl HasShapeType for PointM
[src]
impl HasShapeType for PointM
impl ConcreteShape for PointM
[src]
impl ConcreteShape for PointM
type ActualShape = PointM
impl ConcreteShapeFromShape for PointM
[src]
impl ConcreteShapeFromShape for PointM
impl ConcreteReadableShape for PointM
[src]
impl ConcreteReadableShape for PointM
fn read_shape_content<T: Read>( | [src] |
impl WritableShape for PointM
[src]
impl WritableShape for PointM
fn size_in_bytes(&self) -> usize | [src] |
fn write_to<T: Write>(self, dest: &mut T) -> Result<(), Error> | [src] |
impl EsriShape for PointM
[src]
impl EsriShape for PointM
fn bbox(&self) -> BBox | [src] |
fn m_range(&self) -> [f64; 2] | [src] |
fn z_range(&self) -> [f64; 2] | [src] |
Should the Z range of this shape (maybe require computing it)
impl PartialEq<PointM> for PointM
[src]
impl PartialEq<PointM> for PointM
impl Clone for PointM
[src]
impl Clone for PointM
fn clone(&self) -> PointM | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
Performs copy-assignment from source
. Read more
impl From<PointM> for Shape
[src]
impl From<PointM> for Shape
impl Default for PointM
[src]
impl Default for PointM
impl Copy for PointM
[src]
impl Copy for PointM
impl Display for PointM
[src]
impl Display for PointM
impl Debug for PointM
[src]
impl Debug for PointM
Auto Trait Implementations
Blanket Implementations
impl<S> ReadableShape for S where
S: ConcreteReadableShape,
[src]
impl<S> ReadableShape for S where
S: ConcreteReadableShape,
type ReadShape = <S as ConcreteShape>::ActualShape
fn read_from<T>(&mut T, i32) -> Result<<S as ReadableShape>::ReadShape, Error> where | [src] |
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
impl<T> From for T
[src]
impl<T> From for T
impl<T> ToString for T where
T: Display + ?Sized,
[src]
impl<T> ToString for T where
T: Display + ?Sized,
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)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> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId | [src] |
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
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.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error> | [src] |
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T | [src] |