#[non_exhaustive]pub enum NodeInput<Compact> {
Single(Compact),
FanIn(Vec<Value>),
}Expand description
Input for graph nodes
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Auto Trait Implementations§
impl<Compact> Freeze for NodeInput<Compact>where
Compact: Freeze,
impl<Compact> RefUnwindSafe for NodeInput<Compact>where
Compact: RefUnwindSafe,
impl<Compact> Send for NodeInput<Compact>where
Compact: Send,
impl<Compact> Sync for NodeInput<Compact>where
Compact: Sync,
impl<Compact> Unpin for NodeInput<Compact>where
Compact: Unpin,
impl<Compact> UnsafeUnpin for NodeInput<Compact>where
Compact: UnsafeUnpin,
impl<Compact> UnwindSafe for NodeInput<Compact>where
Compact: UnwindSafe,
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