pub enum NodeState {
ExpandableLeaf,
TerminalLeaf,
Expanded,
}Expand description
Represents the state of a node in the search tree.
Variants§
ExpandableLeaf
No children, but might have available actions
TerminalLeaf
No children, no available actions
Expanded
Has children (already expanded)
Trait Implementations§
impl Copy for NodeState
impl Eq for NodeState
impl StructuralPartialEq for NodeState
Auto Trait Implementations§
impl Freeze for NodeState
impl RefUnwindSafe for NodeState
impl Send for NodeState
impl Sync for NodeState
impl Unpin for NodeState
impl UnwindSafe for NodeState
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