#[repr(u8)]pub enum WindowThreat {
None = 0,
OpenTwo = 1,
ClosedThree = 2,
OpenThree = 3,
ClosedFour = 4,
OpenFour = 5,
Five = 6,
}Expand description
Threat tier produced when mine (hypothetically) plays at the anchor cell
of a single direction’s window. Mirrors vct.rs::LineThreat but is kept
separate here to avoid a cross-module type dependency; callers translate
between the two enums.
Variants§
Trait Implementations§
Source§impl Clone for WindowThreat
impl Clone for WindowThreat
Source§fn clone(&self) -> WindowThreat
fn clone(&self) -> WindowThreat
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WindowThreat
impl Debug for WindowThreat
Source§impl Ord for WindowThreat
impl Ord for WindowThreat
Source§fn cmp(&self, other: &WindowThreat) -> Ordering
fn cmp(&self, other: &WindowThreat) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for WindowThreat
impl PartialEq for WindowThreat
Source§fn eq(&self, other: &WindowThreat) -> bool
fn eq(&self, other: &WindowThreat) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for WindowThreat
impl PartialOrd for WindowThreat
impl Copy for WindowThreat
impl Eq for WindowThreat
impl StructuralPartialEq for WindowThreat
Auto Trait Implementations§
impl Freeze for WindowThreat
impl RefUnwindSafe for WindowThreat
impl Send for WindowThreat
impl Sync for WindowThreat
impl Unpin for WindowThreat
impl UnsafeUnpin for WindowThreat
impl UnwindSafe for WindowThreat
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