pub struct Ring {
pub vertices: Vec<u32>,
pub kind: RingKind,
}Expand description
A closed boundary of the domain, as indices into the input points.
The ring is closed implicitly (the last vertex joins the first) and may be listed in either orientation.
Fields§
§vertices: Vec<u32>The vertices in order, without repeating the first at the end.
kind: RingKindWhether the ring bounds the domain or a hole in it.
Implementations§
Trait Implementations§
impl Eq for Ring
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 UnsafeUnpin 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