pub enum Node<'a, 'g> {
Chance(Chance<'a, 'g>),
Player(Player<'a, 'g>),
Terminal(Terminal<'a, 'g>),
}Expand description
An arbitrary node in the game tree
A handle that pairs a node with its game so it can resolve its infoset. These are cheap to copy.
Variants§
Chance(Chance<'a, 'g>)
A chance node
Player(Player<'a, 'g>)
A player node
Terminal(Terminal<'a, 'g>)
A terminal node
Trait Implementations§
Auto Trait Implementations§
impl<'a, 'g> Freeze for Node<'a, 'g>
impl<'a, 'g> RefUnwindSafe for Node<'a, 'g>
impl<'a, 'g> Send for Node<'a, 'g>
impl<'a, 'g> Sync for Node<'a, 'g>
impl<'a, 'g> Unpin for Node<'a, 'g>
impl<'a, 'g> UnsafeUnpin for Node<'a, 'g>
impl<'a, 'g> UnwindSafe for Node<'a, 'g>
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