pub struct TracedRing {
pub half_edges: Vec<HalfEdge>,
pub vertices: Vec<VertexId>,
pub hole: bool,
}Expand description
A closed boundary of a class.
Fields§
§half_edges: Vec<HalfEdge>The half-edges of the cycle, before vertices were dropped.
vertices: Vec<VertexId>The vertices kept, in the order of the cycle.
hole: boolWhether the ring is a hole (clockwise in the frame) rather than an outer boundary.
Trait Implementations§
Source§impl Clone for TracedRing
impl Clone for TracedRing
Source§fn clone(&self) -> TracedRing
fn clone(&self) -> TracedRing
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TracedRing
impl Debug for TracedRing
impl Eq for TracedRing
Source§impl PartialEq for TracedRing
impl PartialEq for TracedRing
impl StructuralPartialEq for TracedRing
Auto Trait Implementations§
impl Freeze for TracedRing
impl RefUnwindSafe for TracedRing
impl Send for TracedRing
impl Sync for TracedRing
impl Unpin for TracedRing
impl UnsafeUnpin for TracedRing
impl UnwindSafe for TracedRing
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