pub struct Path {Show 24 fields
pub index: usize,
pub min_tree_length: TmFloat,
pub min_paper_length: TmFloat,
pub act_tree_length: TmFloat,
pub act_paper_length: TmFloat,
pub is_leaf: bool,
pub is_sub: bool,
pub is_feasible: bool,
pub is_active: bool,
pub is_border: bool,
pub is_polygon: bool,
pub is_conditioned: bool,
pub fwd_poly: Option<usize>,
pub bkd_poly: Option<usize>,
pub nodes: Vec<usize>,
pub edges: Vec<usize>,
pub outset_path: Option<usize>,
pub front_reduction: TmFloat,
pub back_reduction: TmFloat,
pub min_depth: TmFloat,
pub min_depth_dist: TmFloat,
pub owned_vertices: Vec<usize>,
pub owned_creases: Vec<usize>,
pub owner: OwnerRef,
}Expand description
TreeMaker path record between a pair of nodes.
Fields§
§index: usize§min_tree_length: TmFloat§min_paper_length: TmFloat§act_tree_length: TmFloat§act_paper_length: TmFloat§is_leaf: bool§is_sub: bool§is_feasible: bool§is_active: bool§is_border: bool§is_polygon: bool§is_conditioned: bool§fwd_poly: Option<usize>§bkd_poly: Option<usize>§nodes: Vec<usize>§edges: Vec<usize>§outset_path: Option<usize>§front_reduction: TmFloat§back_reduction: TmFloat§min_depth: TmFloat§min_depth_dist: TmFloat§owned_vertices: Vec<usize>§owned_creases: Vec<usize>§owner: OwnerRefTrait Implementations§
Source§impl<'de> Deserialize<'de> for Path
impl<'de> Deserialize<'de> for Path
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
Auto Trait Implementations§
impl Freeze for Path
impl RefUnwindSafe for Path
impl Send for Path
impl Sync for Path
impl Unpin for Path
impl UnsafeUnpin for Path
impl UnwindSafe for Path
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