Enum ::std::ops::GeneratorState
Enum indicating the state of a generator.
Variants
Protocols
protocol partial_eq
if value == b
Test for partial equality over a generator state.
Examples
use ;
let g = generate;
assert_eq!;
assert_eq!;
assert_eq!;
``
protocol eq
if value == b
Test for total equality over a generator state.
Examples
use ;
use eq;
let g = generate;
assert!;
assert!;
assert!;
``