[][src]Struct shapefile::record::multipatch::Multipatch

pub struct Multipatch {
    pub bbox: BBox,
    pub parts_type: Vec<PatchType>,
    pub z_range: [f64; 2],
    pub m_range: [f64; 2],
    // some fields omitted
}

Fields

bbox: BBoxparts_type: Vec<PatchType>z_range: [f64; 2]m_range: [f64; 2]

Methods

impl Multipatch
[src]

pub fn new(
    points: Vec<PointZ>,
    parts: Vec<i32>,
    parts_type: Vec<PatchType>
) -> Self
[src]

Trait Implementations

impl MultipointShape<PointZ> for Multipatch
[src]

impl MultipartShape<PointZ> for Multipatch
[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>
fn parts(&self) -> PartIterator<PointType, Self>
[src]

Returns an iterator over the parts of a MultipartShape Read more

impl HasShapeType for Multipatch
[src]

impl ConcreteShape for Multipatch
[src]

impl ConcreteShapeFromShape for Multipatch
[src]

impl ConcreteReadableShape for Multipatch
[src]

impl WritableShape for Multipatch
[src]

impl EsriShape for Multipatch
[src]

impl From<Multipatch> for Shape
[src]

impl Display for Multipatch
[src]

Auto Trait Implementations

impl Send for Multipatch

impl Sync for Multipatch

Blanket Implementations

impl<S> ReadableShape for S where
    S: ConcreteReadableShape
[src]

type ReadShape = <S as ConcreteShape>::ActualShape

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

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.

impl<T> Any for T where
    T: 'static + ?Sized
[src]