pub struct Polygon<K> {
pub exterior: Vec<[K; 2]>,
pub interiors: Vec<Vec<[K; 2]>>,
}Fields§
§exterior: Vec<[K; 2]>Polygon boundary.
interiors: Vec<Vec<[K; 2]>>Polygon interior rings.
Trait Implementations§
Auto Trait Implementations§
impl<K> Freeze for Polygon<K>
impl<K> RefUnwindSafe for Polygon<K>where
K: RefUnwindSafe,
impl<K> Send for Polygon<K>where
K: Send,
impl<K> Sync for Polygon<K>where
K: Sync,
impl<K> Unpin for Polygon<K>where
K: Unpin,
impl<K> UnsafeUnpin for Polygon<K>
impl<K> UnwindSafe for Polygon<K>where
K: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more