pub struct Polygon<K, W = ()> {
pub vertices: Vec<Point<K>>,
pub weight: W,
}Fields§
§vertices: Vec<Point<K>>§weight: WTrait Implementations§
Auto Trait Implementations§
impl<K, W> Freeze for Polygon<K, W>where
W: Freeze,
impl<K, W> RefUnwindSafe for Polygon<K, W>where
W: RefUnwindSafe,
K: RefUnwindSafe,
impl<K, W> Send for Polygon<K, W>
impl<K, W> Sync for Polygon<K, W>
impl<K, W> Unpin for Polygon<K, W>
impl<K, W> UnsafeUnpin for Polygon<K, W>where
W: UnsafeUnpin,
impl<K, W> UnwindSafe for Polygon<K, W>where
W: UnwindSafe,
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