pub struct InsertNodeSpec {
pub node_id: NodeId,
pub node: Node,
pub ports: Vec<(PortId, Port)>,
pub input: PortId,
pub output: PortId,
}Expand description
Specification for inserting a new node as part of a connection workflow.
The ports list defines the desired UI ordering for the inserted node.
Fields§
§node_id: NodeId§node: Node§ports: Vec<(PortId, Port)>§input: PortId§output: PortIdTrait Implementations§
Source§impl Clone for InsertNodeSpec
impl Clone for InsertNodeSpec
Source§fn clone(&self) -> InsertNodeSpec
fn clone(&self) -> InsertNodeSpec
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 Freeze for InsertNodeSpec
impl RefUnwindSafe for InsertNodeSpec
impl Send for InsertNodeSpec
impl Sync for InsertNodeSpec
impl Unpin for InsertNodeSpec
impl UnsafeUnpin for InsertNodeSpec
impl UnwindSafe for InsertNodeSpec
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