pub struct GeodesicReport {
pub ink_cells: usize,
pub connected_cells: usize,
pub spine_length: u32,
}Expand description
Diagnostics describing how well a piece of art suits geodesic reveal.
A low connected_cells / ink_cells ratio means the art is fragmented and
will lean on the Voronoi inheritance rather than the spine itself.
Fields§
§ink_cells: usize§connected_cells: usizeSize of the largest connected component (the spine’s component).
spine_length: u32Length of the spine in cells (the component’s graph diameter).
Trait Implementations§
Source§impl Clone for GeodesicReport
impl Clone for GeodesicReport
Source§fn clone(&self) -> GeodesicReport
fn clone(&self) -> GeodesicReport
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 moreimpl Copy for GeodesicReport
Auto Trait Implementations§
impl Freeze for GeodesicReport
impl RefUnwindSafe for GeodesicReport
impl Send for GeodesicReport
impl Sync for GeodesicReport
impl Unpin for GeodesicReport
impl UnsafeUnpin for GeodesicReport
impl UnwindSafe for GeodesicReport
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