FactoryModeProxy
docs
This commit is contained in:
parent
1423a03599
commit
031ea2a0e9
@ -264,11 +264,15 @@ pub trait FactoryModeParse<'a, Ctx: Context<'a>>: FactoryBase<'a, Ctx> + ParseMo
|
|||||||
) -> ExtensionResultM<'a, Ctx, Self>;
|
) -> ExtensionResultM<'a, Ctx, Self>;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// External implementation of [`FactoryModeParse`].
|
||||||
pub trait FactoryModeProxy<'a, Ctx: Context<'a>> {
|
pub trait FactoryModeProxy<'a, Ctx: Context<'a>> {
|
||||||
|
/// Associated [`FactoryModeParse`].
|
||||||
type F: FactoryBase<'a, Ctx> + ParseMode;
|
type F: FactoryBase<'a, Ctx> + ParseMode;
|
||||||
|
|
||||||
|
/// External implementation of [`FactoryModeParse::mdeserialize`].
|
||||||
fn pmdeserialize<I: InCtx<'a, Ctx>>(f: &Self::F, inctx: I) -> ModeResultM<'a, Ctx, Self::F, I>;
|
fn pmdeserialize<I: InCtx<'a, Ctx>>(f: &Self::F, inctx: I) -> ModeResultM<'a, Ctx, Self::F, I>;
|
||||||
|
|
||||||
|
/// External implementation of [`FactoryModeParse::mextend`].
|
||||||
fn pmextend(
|
fn pmextend(
|
||||||
f: &Self::F,
|
f: &Self::F,
|
||||||
mentionable: ExtensionSourceM<'a, Ctx, Self::F>,
|
mentionable: ExtensionSourceM<'a, Ctx, Self::F>,
|
||||||
|
Loading…
Reference in New Issue
Block a user