pub struct PointGraph {
pub nodes: Vec<PointNode>,
pub roots: [usize; 3],
}Expand description
The three coordinates of a point as one graph of f64 operations in which
equal subexpressions share a node.
Children come before their parents and every node is reachable from one of the roots.
Fields§
§nodes: Vec<PointNode>The nodes, in dependency order. Their operands are indices into this vector.
roots: [usize; 3]The nodes holding the x, y and z coordinates of the point.
Trait Implementations§
Source§impl Clone for PointGraph
impl Clone for PointGraph
Source§impl Debug for PointGraph
impl Debug for PointGraph
impl Eq for PointGraph
Source§impl PartialEq for PointGraph
impl PartialEq for PointGraph
impl StructuralPartialEq for PointGraph
Auto Trait Implementations§
impl Forget for PointGraph
impl Freeze for PointGraph
impl Move for PointGraph
impl RefUnwindSafe for PointGraph
impl Send for PointGraph
impl Sync for PointGraph
impl Unpin for PointGraph
impl UnsafeUnpin for PointGraph
impl UnwindSafe for PointGraph
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