#[cfg(feature = "derive")]
pub use partial_context_codegen::PartialContext;
pub trait PartialContext<L, R>
where
L: From<R>,
{
fn has_context(&self) -> bool;
fn needs_context(&self) -> bool {
!self.has_context()
}
fn partial(self) -> L;
fn unwrap_context(self) -> R;
fn context(self) -> Option<R>;
}