Struct zc_geo::polygon::Polygon
[−]
[src]
pub struct Polygon<T> where
T: Float, { pub exterior: LineString<T>, pub interiors: Vec<LineString<T>>, }
Fields
exterior: LineString<T>
interiors: Vec<LineString<T>>
Methods
impl<T> Polygon<T> where
T: Float,
[src]
T: Float,
pub fn new(exterior: LineString<T>, interiors: Vec<LineString<T>>) -> Polygon<T>
[src]
Trait Implementations
impl<T: Clone> Clone for Polygon<T> where
T: Float,
[src]
T: Float,
fn clone(&self) -> Polygon<T>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<T: Debug> Debug for Polygon<T> where
T: Float,
[src]
T: Float,
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<T: PartialEq> PartialEq for Polygon<T> where
T: Float,
[src]
T: Float,