pub struct SimulatedPlacement {
pub tile: FlatTile,
pub color: Player,
pub kind: PlacementKind,
pub new_group_stone_count: u16,
pub new_group_initial_liberty_edge_count: u16,
pub merge_friendly: StackVec4,
pub clear_enemy: StackVec4,
pub next_zobrist: Zobrist,
pub next_stone_count: u16,
}Fields§
§tile: FlatTile§color: Player§kind: PlacementKind§new_group_stone_count: u16§new_group_initial_liberty_edge_count: u16§merge_friendly: StackVec4§clear_enemy: StackVec4§next_zobrist: Zobrist§next_stone_count: u16Trait Implementations§
Source§impl Clone for SimulatedPlacement
impl Clone for SimulatedPlacement
Source§fn clone(&self) -> SimulatedPlacement
fn clone(&self) -> SimulatedPlacement
Returns a duplicate of the value. Read more
1.0.0 · 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 SimulatedPlacement
impl Debug for SimulatedPlacement
Source§impl PartialEq for SimulatedPlacement
impl PartialEq for SimulatedPlacement
impl Eq for SimulatedPlacement
impl StructuralPartialEq for SimulatedPlacement
Auto Trait Implementations§
impl Freeze for SimulatedPlacement
impl RefUnwindSafe for SimulatedPlacement
impl Send for SimulatedPlacement
impl Sync for SimulatedPlacement
impl Unpin for SimulatedPlacement
impl UnwindSafe for SimulatedPlacement
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more