#[repr(u8)]pub enum GateOwner {
Show 16 variants
Unlocked = 0,
LockedByD0 = 1,
LockedByD1 = 2,
LockedByD2 = 3,
LockedByD3 = 4,
LockedByD4 = 5,
LockedByD5 = 6,
LockedByD6 = 7,
LockedByD7 = 8,
LockedByD8 = 9,
LockedByD9 = 10,
LockedByD10 = 11,
LockedByD11 = 12,
LockedByD12 = 13,
LockedByD13 = 14,
LockedByD14 = 15,
}Variants§
Unlocked = 0
The gate is unlocked (free).
LockedByD0 = 1
Domain 0 locked the gate.
LockedByD1 = 2
Domain 1 locked the gate.
LockedByD2 = 3
Domain 2 locked the gate.
LockedByD3 = 4
Domain 3 locked the gate.
LockedByD4 = 5
Domain 4 locked the gate.
LockedByD5 = 6
Domain 5 locked the gate.
LockedByD6 = 7
Domain 6 locked the gate.
LockedByD7 = 8
Domain 7 locked the gate.
LockedByD8 = 9
Domain 8 locked the gate.
LockedByD9 = 10
Domain 9 locked the gate.
LockedByD10 = 11
Domain 10 locked the gate.
LockedByD11 = 12
Domain 11 locked the gate.
LockedByD12 = 13
Domain 12 locked the gate.
LockedByD13 = 14
Domain 13 locked the gate.
LockedByD14 = 15
Domain 14 locked the gate.
Implementations§
Trait Implementations§
Source§impl Ord for GateOwner
impl Ord for GateOwner
Source§impl PartialOrd for GateOwner
impl PartialOrd for GateOwner
impl Copy for GateOwner
impl Eq for GateOwner
impl StructuralPartialEq for GateOwner
Auto Trait Implementations§
impl Freeze for GateOwner
impl RefUnwindSafe for GateOwner
impl Send for GateOwner
impl Sync for GateOwner
impl Unpin for GateOwner
impl UnwindSafe for GateOwner
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more