pub struct TreeNode {
pub id: usize,
pub formula: InterpolantTerm,
pub children: Vec<usize>,
pub parent: Option<usize>,
}Expand description
Tree node for tree interpolation
Fields§
§id: usizeNode ID
formula: InterpolantTermFormula at this node (as term)
children: Vec<usize>Children node IDs
parent: Option<usize>Parent node ID (None for root)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TreeNode
impl RefUnwindSafe for TreeNode
impl Send for TreeNode
impl Sync for TreeNode
impl Unpin for TreeNode
impl UnsafeUnpin for TreeNode
impl UnwindSafe for TreeNode
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