Struct gurgle::checker::Checker [−][src]
Expand description
Check if the result of rolling dice is a success(pass)
Checker
will compare gurgle execution result to target
.
It’s a success(pass) if compare result is as same as compare
field.
Example
In gurgle command 3d6 > 10
: >
is the compare
and 10
is the target
.
When sum of 3 dice result grater then 10, it’s a success(pass).
Fields
compare: Compare
wanted compare result
target: i64
target value
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Checker
impl UnwindSafe for Checker
Blanket Implementations
Mutably borrows from an owned value. Read more