pub enum PinUpdate {
NoChange,
Updated {
inputs: Vec<InputPin>,
outputs: Vec<OutputPin>,
},
}Expand description
Result of node initialization.
Nodes can update their pin definitions during initialization if they need to discover types or counts from external sources.
Variants§
NoChange
Pins are unchanged from the initial definition
Updated
Pins have been updated (e.g., discovered from external source)
Auto Trait Implementations§
impl Freeze for PinUpdate
impl RefUnwindSafe for PinUpdate
impl Send for PinUpdate
impl Sync for PinUpdate
impl Unpin for PinUpdate
impl UnwindSafe for PinUpdate
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