Fctr docs

This commit is contained in:
AF 2023-07-01 00:58:15 +00:00
parent 785f7b7746
commit 39513d7946

View File

@ -61,6 +61,7 @@ pub trait Mentionable<'a, Ctx: Context<'a>>: 'a + Serializable {
fn points_typed(&self, points: &mut impl TakesPoints<'a, Ctx>);
}
/// [`Factory`] associated with the [`Mentionable`]. Mostly useful for `type` definitions.
pub type Fctr<'a, Ctx, A> = <A as Mentionable<'a, Ctx>>::Fctr;
/// Shorthand for the type of vaalues returned by [`Factory::deserialize`].