pub struct StretchReport {
pub splits: usize,
pub remaining: usize,
pub vertices: Vec<[VertexId; 3]>,
}Expand description
Outcome of split_stretched.
Fields§
§splits: usizeEdge splits performed.
remaining: usizeEdges still past the limit because StretchOptions::max_splits ran
out.
vertices: Vec<[VertexId; 3]>[new, a, b] per split, in order: the new vertex and its edge’s
endpoints, which may be new vertices from earlier in this list. For a
caller that holds per-vertex state of its own and has to carry it over.
Trait Implementations§
Source§impl Clone for StretchReport
impl Clone for StretchReport
Source§fn clone(&self) -> StretchReport
fn clone(&self) -> StretchReport
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 StretchReport
impl Debug for StretchReport
Source§impl Default for StretchReport
impl Default for StretchReport
Source§fn default() -> StretchReport
fn default() -> StretchReport
Returns the “default value” for a type. Read more
impl Eq for StretchReport
Source§impl PartialEq for StretchReport
impl PartialEq for StretchReport
impl StructuralPartialEq for StretchReport
Auto Trait Implementations§
impl Freeze for StretchReport
impl RefUnwindSafe for StretchReport
impl Send for StretchReport
impl Sync for StretchReport
impl Unpin for StretchReport
impl UnsafeUnpin for StretchReport
impl UnwindSafe for StretchReport
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