InCtx
docs
This commit is contained in:
parent
9d189d2e8e
commit
e97af875cb
@ -1,8 +1,11 @@
|
||||
use super::*;
|
||||
|
||||
/// [Inlining] context.
|
||||
pub trait InCtx<'a, Ctx: Context<'a>>: Inlining {
|
||||
/// [Inlining] equivalent for [`Addresses::next`].
|
||||
fn icnext_address<E>(self, err: impl FnOnce(&[u8]) -> E) -> Result<(Address, Self), E>;
|
||||
|
||||
/// [Inlining] equivalent for [`Addresses::next_point`].
|
||||
fn icnext_point<'b, A: Mentionable<'a, Ctx>, E>(
|
||||
self,
|
||||
factory: A::Fctr,
|
||||
@ -15,6 +18,7 @@ pub trait InCtx<'a, Ctx: Context<'a>>: Inlining {
|
||||
))
|
||||
}
|
||||
|
||||
/// Clone the reference to the current [Resolver].
|
||||
fn iresolver(&self) -> Rc<dyn Resolver<'a, Ctx>>;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user