pub struct Rings {
pub outer: Vec<Point2>,
pub holes: Vec<Vec<Point2>>,
}Expand description
Outer ring plus holes, all CCW/CW normalised by the caller’s contract: outer counter-clockwise, holes clockwise.
Fields§
§outer: Vec<Point2>Outer boundary, counter-clockwise.
holes: Vec<Vec<Point2>>Inner boundaries, clockwise.
Trait Implementations§
impl StructuralPartialEq for Rings
Auto Trait Implementations§
impl Freeze for Rings
impl RefUnwindSafe for Rings
impl Send for Rings
impl Sync for Rings
impl Unpin for Rings
impl UnwindSafe for Rings
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