pub trait Refs {
// Required methods
fn value(
&self,
id: NodeId,
component: usize,
t: f64,
) -> Result<C64, CollapseError>;
fn width(&self, id: NodeId) -> usize;
}Expand description
How a Body::Node reaches a value at one instant, and how many components it holds: a
closed form on its own holds no node, so the caller holding the graph answers both.
Required Methods§
fn value( &self, id: NodeId, component: usize, t: f64, ) -> Result<C64, CollapseError>
fn width(&self, id: NodeId) -> usize
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".