pub struct Ring {
pub points: Vec<Point2>,
}Fields§
§points: Vec<Point2>Trait Implementations§
Source§impl From<Polygon2> for Ring
A Ring is a closed boundary and so is Polygon2; converting between
them moves the points and nothing else.
impl From<Polygon2> for Ring
A Ring is a closed boundary and so is Polygon2; converting between
them moves the points and nothing else.
The two exist separately because they are reached from different places:
Polygon2 is a foundation value type usable without this crate, while
Ring is what the overlay consumes. Making them the same type
would drag the planar boolean vocabulary into axiolid-core.
impl StructuralPartialEq for Ring
Auto Trait Implementations§
impl Freeze for Ring
impl RefUnwindSafe for Ring
impl Send for Ring
impl Sync for Ring
impl Unpin for Ring
impl UnwindSafe for Ring
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