Struct border_core::replay_buffer::SimpleReplayBuffer
source · pub struct SimpleReplayBuffer<O, A>where
O: SubBatch,
A: SubBatch,{ /* private fields */ }
Expand description
A simple generic replay buffer.
Trait Implementations§
source§impl<O, A> ExperienceBufferBase for SimpleReplayBuffer<O, A>where
O: SubBatch,
A: SubBatch,
impl<O, A> ExperienceBufferBase for SimpleReplayBuffer<O, A>where O: SubBatch, A: SubBatch,
source§impl<O, A> ReplayBufferBase for SimpleReplayBuffer<O, A>where
O: SubBatch,
A: SubBatch,
impl<O, A> ReplayBufferBase for SimpleReplayBuffer<O, A>where O: SubBatch, A: SubBatch,
§type Config = SimpleReplayBufferConfig
type Config = SimpleReplayBufferConfig
Configuration of the replay buffer.
source§fn build(config: &Self::Config) -> Self
fn build(config: &Self::Config) -> Self
Build a replay buffer from Self::Config.
Auto Trait Implementations§
impl<O, A> RefUnwindSafe for SimpleReplayBuffer<O, A>where A: RefUnwindSafe, O: RefUnwindSafe,
impl<O, A> Send for SimpleReplayBuffer<O, A>where A: Send, O: Send,
impl<O, A> Sync for SimpleReplayBuffer<O, A>where A: Sync, O: Sync,
impl<O, A> Unpin for SimpleReplayBuffer<O, A>where A: Unpin, O: Unpin,
impl<O, A> UnwindSafe for SimpleReplayBuffer<O, A>where A: UnwindSafe, O: 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