pub struct PlaneFacts {
pub attacked: [SquareSet; 2],
pub attacked_by_pawns: [SquareSet; 2],
pub hanging: [SquareSet; 2],
pub pinned: [SquareSet; 2],
pub threatened: [SquareSet; 2],
}Expand description
The eight square sets the planes group emits.
Fields§
§attacked: [SquareSet; 2]Each side’s attack map.
attacked_by_pawns: [SquareSet; 2]Each side’s pawn attacks.
hanging: [SquareSet; 2]Each side’s hanging units.
pinned: [SquareSet; 2]Each side’s absolutely pinned units.
threatened: [SquareSet; 2]Each side’s threatened units.
Trait Implementations§
Source§impl Clone for PlaneFacts
impl Clone for PlaneFacts
Source§fn clone(&self) -> PlaneFacts
fn clone(&self) -> PlaneFacts
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 moreimpl Copy for PlaneFacts
Source§impl Debug for PlaneFacts
impl Debug for PlaneFacts
Source§impl Default for PlaneFacts
impl Default for PlaneFacts
Source§fn default() -> PlaneFacts
fn default() -> PlaneFacts
Returns the “default value” for a type. Read more
impl Eq for PlaneFacts
Source§impl PartialEq for PlaneFacts
impl PartialEq for PlaneFacts
impl StructuralPartialEq for PlaneFacts
Auto Trait Implementations§
impl Freeze for PlaneFacts
impl RefUnwindSafe for PlaneFacts
impl Send for PlaneFacts
impl Sync for PlaneFacts
impl Unpin for PlaneFacts
impl UnsafeUnpin for PlaneFacts
impl UnwindSafe for PlaneFacts
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