pub struct GraphNode {
pub id: usize,
pub node_type: NodeType,
pub inputs: Vec<usize>,
pub outputs: Vec<usize>,
pub params: NodeParams,
}Expand description
Graph node representing a single operation
Fields§
§id: usize§node_type: NodeType§inputs: Vec<usize>§outputs: Vec<usize>§params: NodeParamsTrait 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