pub enum Input<Value> {
Value(Value),
Node(NodeKey),
}
Variants§
Trait Implementations§
impl<Value: Copy> Copy for Input<Value>
impl<Value: Eq> Eq for Input<Value>
impl<Value> StructuralPartialEq for Input<Value>
Auto Trait Implementations§
impl<Value> Freeze for Input<Value>where
Value: Freeze,
impl<Value> RefUnwindSafe for Input<Value>where
Value: RefUnwindSafe,
impl<Value> Send for Input<Value>where
Value: Send,
impl<Value> Sync for Input<Value>where
Value: Sync,
impl<Value> Unpin for Input<Value>where
Value: Unpin,
impl<Value> UnwindSafe for Input<Value>where
Value: 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