pub enum JoinTrigger {
Input {
index: usize,
value: Box<dyn Any + Send>,
},
}Expand description
Identifies which input produced a value in a multi-input join transform.
Passed to the event loop inside the closure registered with JoinBuilder::on_triggers.
Use JoinTrigger::index to branch on the source input and
JoinTrigger::as_input to downcast the value to the concrete type.
Variants§
Implementations§
Auto Trait Implementations§
impl Freeze for JoinTrigger
impl !RefUnwindSafe for JoinTrigger
impl Send for JoinTrigger
impl !Sync for JoinTrigger
impl Unpin for JoinTrigger
impl UnsafeUnpin for JoinTrigger
impl !UnwindSafe for JoinTrigger
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