pub struct NodeInfo {
pub id: usize,
pub name: String,
pub inputs: Vec<DataLabel>,
pub outputs: Vec<DataLabel>,
pub highlighted: bool,
}Expand description
Information about a node in the graph.
Fields§
§id: usizeThe unique ID of the node.
name: StringThe name of the node.
inputs: Vec<DataLabel>The input names of the node.
outputs: Vec<DataLabel>The output names of the node.
highlighted: boolUsed for debugging purposes
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NodeInfo
impl RefUnwindSafe for NodeInfo
impl Send for NodeInfo
impl Sync for NodeInfo
impl Unpin for NodeInfo
impl UnwindSafe for NodeInfo
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