pub struct GameState {
pub actions: Vec<Action>,
pub action_errors: Vec<ActionError>,
pub observation: Observation,
pub chat: Vec<ChatMessage>,
}
Expand description
Information about current state on current step.
Can be accessed through state
field.
Fields§
§actions: Vec<Action>
Actions executed on previous step.
action_errors: Vec<ActionError>
Results on actions from previous step.
observation: Observation
Bot’s observation here.
chat: Vec<ChatMessage>
Messeges in game chat.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GameState
impl !RefUnwindSafe for GameState
impl !Send for GameState
impl !Sync for GameState
impl Unpin for GameState
impl !UnwindSafe for GameState
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