pub struct DummyEnv;Expand description
Dummy env.
Trait Implementations§
Source§impl Env for DummyEnv
impl Env for DummyEnv
Source§fn build(_config: &Self::Config, _seed: i64) -> Result<Self>where
Self: Sized,
fn build(_config: &Self::Config, _seed: i64) -> Result<Self>where
Self: Sized,
Builds a new instance of the environment with the given configuration and random seed. Read more
Source§fn reset(&mut self, _is_done: Option<&Vec<i8>>) -> Result<Self::Obs>
fn reset(&mut self, _is_done: Option<&Vec<i8>>) -> Result<Self::Obs>
Resets the environment to its initial state. Read more
Source§fn reset_with_index(&mut self, _ix: usize) -> Result<Self::Obs>
fn reset_with_index(&mut self, _ix: usize) -> Result<Self::Obs>
Resets the environment with a specific index. Read more
Auto Trait Implementations§
impl Freeze for DummyEnv
impl RefUnwindSafe for DummyEnv
impl Send for DummyEnv
impl Sync for DummyEnv
impl Unpin for DummyEnv
impl UnwindSafe for DummyEnv
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