Struct diceprop::Vars [−][src]
Expand description
Represents elements that were chosen from a set and that can be used as variables in properties.
It contains N
elements of type S
.
Fields
set: &'a str
The name of the set the elements were chosen from.
elems: [Elem<'a, S>; N]
The elements of the set.
Implementations
Returns Eval
s that contain the variables.
This operation will log the variables via dicetest::hints
.
Trait Implementations
Auto Trait Implementations
impl<'a, S, const N: usize> RefUnwindSafe for Vars<'a, S, N> where
S: RefUnwindSafe,
impl<'a, S, const N: usize> UnwindSafe for Vars<'a, S, N> where
S: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more