Trait anchors::expert::OutputContext [−][src]
The context passed to an AnchorInner
when its output
method is called.
Associated Types
Loading content...Required methods
fn get<'out, O: 'static>(&self, anchor: &Anchor<O, Self::Engine>) -> &'out O where
'eng: 'out,
[src]
'eng: 'out,
If another Anchor during polling indicated its value was ready, the previously
calculated value can be accessed with this method. Its implementation is virtually
identical to UpdateContext
’s get
. This is mostly used by AnchorInner implementations
that want to return a reference to some other Anchor’s output without cloning.