Guest User

Untitled

a guest
May 6th, 2020
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Rust 0.13 KB | None | 0 0
  1. impl<S: State> Agent<S> for dyn Fn(&S) -> Option<S::Action> {
  2.     fn decide(&self, s: &S) -> Option<S::Action> {
  3.         self(s)
  4.     }
  5. }
Add Comment
Please, Sign In to add comment