Instance add newline

This commit is contained in:
lyken 2024-08-27 17:18:48 +08:00
parent 36af473816
commit 0562e9a385
No known key found for this signature in database
GPG Key ID: 3BD5FC6AC8325DD8
1 changed files with 1 additions and 0 deletions

View File

@ -199,6 +199,7 @@ pub trait Model<'ctx>: fmt::Debug + Clone + Copy {
pub struct Instance<'ctx, M: Model<'ctx>> {
/// The model of this instance.
pub model: M,
/// The value of this instance.
///
/// It is guaranteed the [`BasicType`] of `value` is consistent with that of `model`.