WithMode
docs
This commit is contained in:
parent
34b90993d4
commit
2de2ecc07d
@ -221,6 +221,7 @@ impl<T: ?Sized + ImplMode> WithParseMode for T {
|
|||||||
type WithMode = WithMode<Self, <Self as ParseMode>::Mode>;
|
type WithMode = WithMode<Self, <Self as ParseMode>::Mode>;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// Used as [`WithParseMode::WithMode`].
|
||||||
pub struct WithMode<T: ?Sized, M: ?Sized>(PhantomData<M>, T);
|
pub struct WithMode<T: ?Sized, M: ?Sized>(PhantomData<M>, T);
|
||||||
|
|
||||||
impl<'a, Ctx: Context<'a>, F: FactoryModeParse<'a, Ctx>> FactoryParse<'a, Ctx> for F {
|
impl<'a, Ctx: Context<'a>, F: FactoryModeParse<'a, Ctx>> FactoryParse<'a, Ctx> for F {
|
||||||
|
Loading…
Reference in New Issue
Block a user