Re-exports§
Structs§
- Before
Gate Dropped - The gate was dropped, but we still know what value it had before dropping
- Gate
- A gate that can be checked if
is_raisedoris_loweredimmediately, or can be waited on to beraisedorlowered. - Gate
Dropped - The gate was dropped, so raising or lowering it achieves nothing
- Lever
- A lever that can
raiseandlowerthe gate it’s associated with - Lever
Dropped While Lowered - The lever was dropped while the gate was raised, so the gate will never be lowered again
- Lever
Dropped While Raised - The lever was dropped while the gate was raised, so the gate will never be lowered again
- Parse
Gateway Error
Enums§
Functions§
- new
- Create a
Gatein the giveninitialstate. TheLeverthat it is returned with can raise and lower the gate. - new_
lowered - Create a
Gatethat is initially lowered. TheLeverthat it is returned with can raise and lower the gate. - new_
raised - Create a
Gatethat is initially raised. TheLeverthat it is returned with can raise and lower the gate.