pub trait OperateIn<'k, T: Opaque + 'k> {
type Out;
fn operate_in<'a>(self, x: Pin<&'a T::Kind<'a>>) -> Self::Out
where
'k: 'a;
}
Expand description
Helper trait for working with a Holder
.
This is necessary because closures don’t work properly here.
See Holder::operate_in
for examples.
Required Associated Types
Required Methods
fn operate_in<'a>(self, x: Pin<&'a T::Kind<'a>>) -> Self::Out where
'k: 'a,
fn operate_in<'a>(self, x: Pin<&'a T::Kind<'a>>) -> Self::Out where
'k: 'a,
Do this operation.