[−][src]Struct shapefile::record::point::PointZ
Point with x
, y
, m
, z
Fields
x: f64
y: f64
z: f64
m: f64
Methods
impl PointZ
[src]
impl PointZ
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 HasXY for PointZ
[src]
impl HasXY for PointZ
impl HasShapeType for PointZ
[src]
impl HasShapeType for PointZ
impl ConcreteShape for PointZ
[src]
impl ConcreteShape for PointZ
type ActualShape = PointZ
impl ConcreteShapeFromShape for PointZ
[src]
impl ConcreteShapeFromShape for PointZ
impl MultipointShape<PointZ> for Multipatch
[src]
impl MultipointShape<PointZ> for Multipatch
fn point<I: SliceIndex<[PointZ]>>( | [src] |
fn points(&self) -> &[PointZ] | [src] |
impl MultipartShape<PointZ> for Multipatch
[src]
impl MultipartShape<PointZ> for Multipatch
fn parts_indices(&self) -> &[i32] | [src] |
fn part(&self, index: usize) -> Option<&[PointType]> | [src] |
Returns the slice of points corresponding to part n°ìndex
if the shape actually has multiple parts Read more
ⓘImportant traits for PartIterator<'a, PointType, Shape>
ⓘImportant traits for PartIterator<'a, PointType, Shape>
fn parts(&self) -> PartIterator<PointType, Self> | [src] |
Returns an iterator over the parts of a MultipartShape Read more
impl ConcreteReadableShape for PointZ
[src]
impl ConcreteReadableShape for PointZ
fn read_shape_content<T: Read>( | [src] |
impl WritableShape for PointZ
[src]
impl WritableShape for PointZ
fn size_in_bytes(&self) -> usize | [src] |
fn write_to<T: Write>(self, dest: &mut T) -> Result<(), Error> | [src] |
impl EsriShape for PointZ
[src]
impl EsriShape for PointZ
impl PartialEq<PointZ> for PointZ
[src]
impl PartialEq<PointZ> for PointZ
impl Clone for PointZ
[src]
impl Clone for PointZ
fn clone(&self) -> PointZ | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
Performs copy-assignment from source
. Read more
impl From<PointZ> for Shape
[src]
impl From<PointZ> for Shape
impl Default for PointZ
[src]
impl Default for PointZ
impl Copy for PointZ
[src]
impl Copy for PointZ
impl Display for PointZ
[src]
impl Display for PointZ
impl Debug for PointZ
[src]
impl Debug for PointZ
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] |