Draft time-travel debugging feature
This commit is contained in:
parent
388a419ed5
commit
d5d4479a53
20 changed files with 330 additions and 63 deletions
|
|
@ -285,6 +285,11 @@ impl<T> Subscription<T> {
|
|||
.collect(),
|
||||
}
|
||||
}
|
||||
|
||||
/// Returns the amount of recipe units in this [`Subscription`].
|
||||
pub fn units(&self) -> usize {
|
||||
self.recipes.len()
|
||||
}
|
||||
}
|
||||
|
||||
/// Creates a [`Subscription`] from a [`Recipe`] describing it.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue