[−][src]Struct shapefile::record::point::PointZ
Point with x, y, m, z
Fields
x: f64y: f64z: f64m: f64Implementations
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]
fn x_range(&self) -> [f64; 2][src]
fn y_range(&self) -> [f64; 2][src]
fn z_range(&self) -> [f64; 2][src]
fn m_range(&self) -> [f64; 2][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 GrowablePoint for PointZ[src]
impl HasM for PointZ[src]
impl HasShapeType for PointZ[src]
impl HasXY for PointZ[src]
impl HasZ for PointZ[src]
impl PartialEq<PointZ> for PointZ[src]
impl ShrinkablePoint 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.
fn try_from(shape: Shape) -> Result<Self, Self::Error>[src]
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]
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,
pub 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.
pub fn to_owned(&self) -> T[src]
pub 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.
pub 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>,