pub struct BorderAtariEnvConfig<O, A, OF, AF>{
pub rom_dir: String,
pub name: String,
pub obs_filter_config: OF::Config,
pub act_filter_config: AF::Config,
pub train: bool,
pub render: bool,
}Expand description
Configuration of BorderAtariEnv.
Fields§
§rom_dir: String§name: String§obs_filter_config: OF::Config§act_filter_config: AF::Config§train: bool§render: boolImplementations§
Source§impl<O, A, OF, AF> BorderAtariEnvConfig<O, A, OF, AF>
impl<O, A, OF, AF> BorderAtariEnvConfig<O, A, OF, AF>
Trait Implementations§
Source§impl<O, A, OF, AF> Clone for BorderAtariEnvConfig<O, A, OF, AF>
impl<O, A, OF, AF> Clone for BorderAtariEnvConfig<O, A, OF, AF>
Source§impl<O, A, OF, AF> Debug for BorderAtariEnvConfig<O, A, OF, AF>
impl<O, A, OF, AF> Debug for BorderAtariEnvConfig<O, A, OF, AF>
Source§impl<O, A, OF, AF> Default for BorderAtariEnvConfig<O, A, OF, AF>
impl<O, A, OF, AF> Default for BorderAtariEnvConfig<O, A, OF, AF>
Source§impl<'de, O, A, OF, AF> Deserialize<'de> for BorderAtariEnvConfig<O, A, OF, AF>where
O: Obs,
A: Act,
OF: BorderAtariObsFilter<O>,
AF: BorderAtariActFilter<A>,
OF::Config: Deserialize<'de>,
AF::Config: Deserialize<'de>,
impl<'de, O, A, OF, AF> Deserialize<'de> for BorderAtariEnvConfig<O, A, OF, AF>where
O: Obs,
A: Act,
OF: BorderAtariObsFilter<O>,
AF: BorderAtariActFilter<A>,
OF::Config: Deserialize<'de>,
AF::Config: Deserialize<'de>,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl<O, A, OF, AF> Serialize for BorderAtariEnvConfig<O, A, OF, AF>where
O: Obs,
A: Act,
OF: BorderAtariObsFilter<O>,
AF: BorderAtariActFilter<A>,
OF::Config: Serialize,
AF::Config: Serialize,
impl<O, A, OF, AF> Serialize for BorderAtariEnvConfig<O, A, OF, AF>where
O: Obs,
A: Act,
OF: BorderAtariObsFilter<O>,
AF: BorderAtariActFilter<A>,
OF::Config: Serialize,
AF::Config: Serialize,
Auto Trait Implementations§
impl<O, A, OF, AF> Freeze for BorderAtariEnvConfig<O, A, OF, AF>where
<OF as BorderAtariObsFilter<O>>::Config: Freeze,
<AF as BorderAtariActFilter<A>>::Config: Freeze,
impl<O, A, OF, AF> RefUnwindSafe for BorderAtariEnvConfig<O, A, OF, AF>where
<OF as BorderAtariObsFilter<O>>::Config: RefUnwindSafe,
<AF as BorderAtariActFilter<A>>::Config: RefUnwindSafe,
impl<O, A, OF, AF> Send for BorderAtariEnvConfig<O, A, OF, AF>
impl<O, A, OF, AF> Sync for BorderAtariEnvConfig<O, A, OF, AF>
impl<O, A, OF, AF> Unpin for BorderAtariEnvConfig<O, A, OF, AF>where
<OF as BorderAtariObsFilter<O>>::Config: Unpin,
<AF as BorderAtariActFilter<A>>::Config: Unpin,
impl<O, A, OF, AF> UnwindSafe for BorderAtariEnvConfig<O, A, OF, AF>where
<OF as BorderAtariObsFilter<O>>::Config: UnwindSafe,
<AF as BorderAtariActFilter<A>>::Config: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more