pub struct TreeSummary {Show 29 fields
pub source_version: String,
pub paper_width: TmFloat,
pub paper_height: TmFloat,
pub scale: TmFloat,
pub has_symmetry: bool,
pub is_feasible: bool,
pub cp_status: CPStatus,
pub nodes: usize,
pub edges: usize,
pub paths: usize,
pub polys: usize,
pub vertices: usize,
pub creases: usize,
pub facets: usize,
pub conditions: usize,
pub leaf_nodes: usize,
pub leaf_paths: usize,
pub feasible_paths: usize,
pub active_paths: usize,
pub border_nodes: usize,
pub border_paths: usize,
pub polygon_nodes: usize,
pub polygon_paths: usize,
pub pinned_nodes: usize,
pub pinned_edges: usize,
pub conditioned_nodes: usize,
pub conditioned_edges: usize,
pub conditioned_paths: usize,
pub conditions_by_tag: BTreeMap<String, usize>,
}Expand description
Stable summary of a Tree suitable for CLI/wasm output and regression tests.
Fields§
§source_version: String§paper_width: TmFloat§paper_height: TmFloat§scale: TmFloat§has_symmetry: bool§is_feasible: bool§cp_status: CPStatus§nodes: usize§edges: usize§paths: usize§polys: usize§vertices: usize§creases: usize§facets: usize§conditions: usize§leaf_nodes: usize§leaf_paths: usize§feasible_paths: usize§active_paths: usize§border_nodes: usize§border_paths: usize§polygon_nodes: usize§polygon_paths: usize§pinned_nodes: usize§pinned_edges: usize§conditioned_nodes: usize§conditioned_edges: usize§conditioned_paths: usize§conditions_by_tag: BTreeMap<String, usize>Trait Implementations§
Source§impl Clone for TreeSummary
impl Clone for TreeSummary
Source§fn clone(&self) -> TreeSummary
fn clone(&self) -> TreeSummary
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 TreeSummary
impl Debug for TreeSummary
Source§impl<'de> Deserialize<'de> for TreeSummary
impl<'de> Deserialize<'de> for TreeSummary
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for TreeSummary
impl PartialEq for TreeSummary
Source§fn eq(&self, other: &TreeSummary) -> bool
fn eq(&self, other: &TreeSummary) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TreeSummary
impl Serialize for TreeSummary
impl StructuralPartialEq for TreeSummary
Auto Trait Implementations§
impl Freeze for TreeSummary
impl RefUnwindSafe for TreeSummary
impl Send for TreeSummary
impl Sync for TreeSummary
impl Unpin for TreeSummary
impl UnsafeUnpin for TreeSummary
impl UnwindSafe for TreeSummary
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