pub struct BatchOutMinimalNoMaskBuffers {
pub obs: Vec<i32>,
pub rewards: Vec<f32>,
pub terminated: Vec<bool>,
pub truncated: Vec<bool>,
pub actor: Vec<i8>,
pub decision_kind: Vec<i8>,
pub decision_id: Vec<u32>,
pub engine_status: Vec<u8>,
pub spec_hash: Vec<u64>,
}Expand description
Owned buffers for minimal output without masks (Rust-side convenience).
Fields§
§obs: Vec<i32>Observation buffer (len = num_envs * OBS_LEN).
rewards: Vec<f32>Reward buffer (len = num_envs).
terminated: Vec<bool>Terminal flags (len = num_envs).
truncated: Vec<bool>Truncation flags (len = num_envs).
actor: Vec<i8>Actor perspective (len = num_envs).
decision_kind: Vec<i8>Decision kind (len = num_envs).
decision_id: Vec<u32>Decision id (len = num_envs).
engine_status: Vec<u8>Engine status code (len = num_envs).
spec_hash: Vec<u64>Encoding spec hash (len = num_envs).
Implementations§
Trait Implementations§
Source§impl Clone for BatchOutMinimalNoMaskBuffers
impl Clone for BatchOutMinimalNoMaskBuffers
Source§fn clone(&self) -> BatchOutMinimalNoMaskBuffers
fn clone(&self) -> BatchOutMinimalNoMaskBuffers
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for BatchOutMinimalNoMaskBuffers
impl RefUnwindSafe for BatchOutMinimalNoMaskBuffers
impl Send for BatchOutMinimalNoMaskBuffers
impl Sync for BatchOutMinimalNoMaskBuffers
impl Unpin for BatchOutMinimalNoMaskBuffers
impl UnwindSafe for BatchOutMinimalNoMaskBuffers
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