Type Alias SharedNode

Source
pub type SharedNode<C> = Node<Arc<Mutex<C>>>;
Expand description

A node returned by Node::shared.

Aliased Type§

pub struct SharedNode<C> { /* private fields */ }

Implementations§

Source§

impl<C: Calc> SharedNode<C>

Source

pub fn get(&self) -> C::Value

Returns the shared node’s value, recalculating it if needed.