pub struct GraphNode {
pub id: NodeId,
pub kind: NodeKind,
pub dependencies: Vec<NodeId>,
pub state: NodeState,
}Expand description
A node in a CUDA graph
Fields§
§id: NodeIdUnique ID
kind: NodeKindKind of work
dependencies: Vec<NodeId>IDs of nodes that this node depends on
state: NodeStateExecution state
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GraphNode
impl RefUnwindSafe for GraphNode
impl Send for GraphNode
impl Sync for GraphNode
impl Unpin for GraphNode
impl UnsafeUnpin for GraphNode
impl UnwindSafe for GraphNode
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