pub enum Port {
Single,
JoinParent,
JoinChild,
}Expand description
Marker for which join port a change arrived on (replaces JS’s two distinct
setOutput({push: ...}) closures).
Variants§
Single
The sole downstream edge of a single-output operator.
JoinParent
Arrived via the join’s parent input.
JoinChild
Arrived via the join’s child input.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Port
impl RefUnwindSafe for Port
impl Send for Port
impl Sync for Port
impl Unpin for Port
impl UnsafeUnpin for Port
impl UnwindSafe for Port
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