FactoryModeParse
docs
This commit is contained in:
parent
7644bbc14c
commit
1423a03599
@ -251,9 +251,12 @@ pub type ExtensionResultM<'a, Ctx, F> =
|
||||
/// [`FactoryParse`] equivalent of [`ExtensionSource`].
|
||||
pub type ExtensionSourceM<'a, Ctx, F> = ExtensionSourceP<F, Mtbl<'a, Ctx, F>>;
|
||||
|
||||
/// A more generic version of [`FactoryParse`].
|
||||
pub trait FactoryModeParse<'a, Ctx: Context<'a>>: FactoryBase<'a, Ctx> + ParseMode {
|
||||
/// A more generic version of [`FactoryParse::deserialize`].
|
||||
fn mdeserialize<I: InCtx<'a, Ctx>>(&self, inctx: I) -> ModeResultM<'a, Ctx, Self, I>;
|
||||
|
||||
/// A more generic version of [`FactoryParse::extend`].
|
||||
fn mextend(
|
||||
&self,
|
||||
mentionable: ExtensionSourceM<'a, Ctx, Self>,
|
||||
|
Loading…
Reference in New Issue
Block a user