pub trait ClaimVar {
type Claimed;
// Required method
fn claim(self, ctx: &mut StepCtx<'_>) -> Self::Claimed;
}
Expand description
Claim one or more flowey Vars for a particular step.
By having this be a trait, it is possible to claim
both single instances
of ReadVar
/ WriteVar
, as well as whole collections of Vars.