pub struct ClosureOutput { /* private fields */ }Expand description
Routes an input’s pushes to closures, as JS operators do with object literals. The operator owns it: inputs hold their outputs weakly.
Implementations§
Trait Implementations§
Source§impl Output for ClosureOutput
impl Output for ClosureOutput
fn push(&self, change: Change, _pusher: &dyn InputBase)
Source§fn reconcile(&self, _pusher: &dyn InputBase)
fn reconcile(&self, _pusher: &dyn InputBase)
Phase two. Sinks can ignore it; operators must forward it.
Source§fn has_reconcile(&self) -> bool
fn has_reconcile(&self) -> bool
Whether the output has a phase two: false for a sink whose JS
counterpart has no
reconcile, such as a view, which pushes timed
for the inspector skip (MeasurePushOperator).Auto Trait Implementations§
impl !RefUnwindSafe for ClosureOutput
impl !Send for ClosureOutput
impl !Sync for ClosureOutput
impl !UnwindSafe for ClosureOutput
impl Forget for ClosureOutput
impl Freeze for ClosureOutput
impl Move for ClosureOutput
impl Unpin for ClosureOutput
impl UnsafeUnpin for ClosureOutput
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