struct PolygonBlocker {
exterior: Vec<Position2>,
holes: Vec<Box<[Position2]>>,
}Fields§
§exterior: Vec<Position2>§holes: Vec<Box<[Position2]>>Implementations§
Source§impl PolygonBlocker
impl PolygonBlocker
fn from_rings(exterior: &[Position2], holes: &[Vec<Position2>]) -> Self
Trait Implementations§
Source§impl Clone for PolygonBlocker
impl Clone for PolygonBlocker
Source§fn clone(&self) -> PolygonBlocker
fn clone(&self) -> PolygonBlocker
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PolygonBlocker
impl RefUnwindSafe for PolygonBlocker
impl Send for PolygonBlocker
impl Sync for PolygonBlocker
impl Unpin for PolygonBlocker
impl UnsafeUnpin for PolygonBlocker
impl UnwindSafe for PolygonBlocker
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