pub struct NodeBuilder<'a, Input, Output, B>where
B: BackendExt,{ /* private fields */ }Expand description
Builder for a node in the DAG
Implementations§
Source§impl<Input, Output, B> NodeBuilder<'_, Input, Output, B>where
B: BackendExt,
impl<Input, Output, B> NodeBuilder<'_, Input, Output, B>where
B: BackendExt,
Sourcepub fn depends_on<D>(self, deps: D) -> NodeHandle<Input, Output>where
D: DepsCheck<Input>,
pub fn depends_on<D>(self, deps: D) -> NodeHandle<Input, Output>where
D: DepsCheck<Input>,
Specify dependencies for this node
Trait Implementations§
Source§impl<'a, Input, Output, B> Clone for NodeBuilder<'a, Input, Output, B>where
B: BackendExt,
impl<'a, Input, Output, B> Clone for NodeBuilder<'a, Input, Output, B>where
B: BackendExt,
Source§impl<'a, Input, Output, B> Debug for NodeBuilder<'a, Input, Output, B>where
B: BackendExt,
impl<'a, Input, Output, B> Debug for NodeBuilder<'a, Input, Output, B>where
B: BackendExt,
Source§impl<'a, Input, Output, B> DepsCheck<Output> for &NodeBuilder<'a, Input, Output, B>where
B: BackendExt,
impl<'a, Input, Output, B> DepsCheck<Output> for &NodeBuilder<'a, Input, Output, B>where
B: BackendExt,
Source§fn to_node_indices(&self) -> Vec<NodeIndex>
fn to_node_indices(&self) -> Vec<NodeIndex>
Convert dependencies to node indices
Auto Trait Implementations§
impl<'a, Input, Output, B> Freeze for NodeBuilder<'a, Input, Output, B>
impl<'a, Input, Output, B> RefUnwindSafe for NodeBuilder<'a, Input, Output, B>where
Input: RefUnwindSafe,
Output: RefUnwindSafe,
impl<'a, Input, Output, B> Send for NodeBuilder<'a, Input, Output, B>
impl<'a, Input, Output, B> Sync for NodeBuilder<'a, Input, Output, B>
impl<'a, Input, Output, B> Unpin for NodeBuilder<'a, Input, Output, B>
impl<'a, Input, Output, B> UnsafeUnpin for NodeBuilder<'a, Input, Output, B>
impl<'a, Input, Output, B> UnwindSafe for NodeBuilder<'a, Input, Output, B>where
Input: UnwindSafe,
Output: 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