pub struct ComputeNode<T: Clone> {
pub name: String,
pub value: Option<T>,
pub deps: Vec<String>,
pub is_dirty: bool,
}Expand description
Demand-driven computation graph node.
Fields§
§name: String§value: Option<T>§deps: Vec<String>§is_dirty: boolImplementations§
Trait Implementations§
Source§impl<T: Clone + Clone> Clone for ComputeNode<T>
impl<T: Clone + Clone> Clone for ComputeNode<T>
Source§fn clone(&self) -> ComputeNode<T>
fn clone(&self) -> ComputeNode<T>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<T> Freeze for ComputeNode<T>where
T: Freeze,
impl<T> RefUnwindSafe for ComputeNode<T>where
T: RefUnwindSafe,
impl<T> Send for ComputeNode<T>where
T: Send,
impl<T> Sync for ComputeNode<T>where
T: Sync,
impl<T> Unpin for ComputeNode<T>where
T: Unpin,
impl<T> UnsafeUnpin for ComputeNode<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for ComputeNode<T>where
T: UnwindSafe,
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