pub struct Parts {
pub players: Players<Bitboard>,
pub roles: Roles<Bitboard>,
}Expand description
Unvalidated location of pieces on the board, without the redundant occupied cache.
Fields§
§players: Players<Bitboard>§roles: Roles<Bitboard>Implementations§
Source§impl Parts
impl Parts
pub const fn bitor_assign(&mut self, other: Self)
Trait Implementations§
Source§impl BitOrAssign for Parts
impl BitOrAssign for Parts
Source§fn bitor_assign(&mut self, other: Self)
fn bitor_assign(&mut self, other: Self)
Performs the
|= operation. Read moreimpl Copy for Parts
impl Eq for Parts
Source§impl Ord for Parts
impl Ord for Parts
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 PartialOrd for Parts
impl PartialOrd for Parts
impl StructuralPartialEq for Parts
Auto Trait Implementations§
impl Freeze for Parts
impl RefUnwindSafe for Parts
impl Send for Parts
impl Sync for Parts
impl Unpin for Parts
impl UnsafeUnpin for Parts
impl UnwindSafe for Parts
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