pub enum Node<'a> {
Chance(Chance<'a>),
Player(Player<'a>),
Terminal(Terminal<'a>),
}
Expand description
An arbitrary node in the game tree
Variants§
Chance(Chance<'a>)
A chance node
Player(Player<'a>)
A player node
Terminal(Terminal<'a>)
A terminal node
Trait Implementations§
impl<'a> StructuralPartialEq for Node<'a>
Auto Trait Implementations§
impl<'a> Freeze for Node<'a>
impl<'a> RefUnwindSafe for Node<'a>
impl<'a> Send for Node<'a>
impl<'a> Sync for Node<'a>
impl<'a> Unpin for Node<'a>
impl<'a> UnwindSafe for Node<'a>
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