pub struct BevyReadbackV1 { /* private fields */ }Expand description
Closed standalone root with a canonical self-identity.
Implementations§
Source§impl BevyReadbackV1
impl BevyReadbackV1
Sourcepub fn new(
harness: BevyHarnessIdentityV1,
input: InputIdentity,
prediction: BevyPredictionReferenceV1,
observation: BevyObservationV1,
conformance: BevyConformanceV1,
) -> Result<Self, BevyReadbackV1Error>
pub fn new( harness: BevyHarnessIdentityV1, input: InputIdentity, prediction: BevyPredictionReferenceV1, observation: BevyObservationV1, conformance: BevyConformanceV1, ) -> Result<Self, BevyReadbackV1Error>
Construct V1 and calculate its canonical self-identity.
Sourcepub const fn input(&self) -> &InputIdentity
pub const fn input(&self) -> &InputIdentity
Exact asset identity actually read before loading.
Sourcepub const fn observation(&self) -> &BevyObservationV1
pub const fn observation(&self) -> &BevyObservationV1
Typed engine observations.
Sourcepub const fn conformance(&self) -> &BevyConformanceV1
pub const fn conformance(&self) -> &BevyConformanceV1
Comparison result.
Sourcepub fn validate(&self) -> Result<(), BevyReadbackV1Error>
pub fn validate(&self) -> Result<(), BevyReadbackV1Error>
Validate fixed tuple, canonical identity, bounds, and closed state.
Trait Implementations§
Source§impl Clone for BevyReadbackV1
impl Clone for BevyReadbackV1
Source§fn clone(&self) -> BevyReadbackV1
fn clone(&self) -> BevyReadbackV1
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BevyReadbackV1
impl Debug for BevyReadbackV1
Source§impl<'de> Deserialize<'de> for BevyReadbackV1
impl<'de> Deserialize<'de> for BevyReadbackV1
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
impl Eq for BevyReadbackV1
Source§impl PartialEq for BevyReadbackV1
impl PartialEq for BevyReadbackV1
Source§impl Serialize for BevyReadbackV1
impl Serialize for BevyReadbackV1
impl StructuralPartialEq for BevyReadbackV1
Auto Trait Implementations§
impl Freeze for BevyReadbackV1
impl RefUnwindSafe for BevyReadbackV1
impl Send for BevyReadbackV1
impl Sync for BevyReadbackV1
impl Unpin for BevyReadbackV1
impl UnsafeUnpin for BevyReadbackV1
impl UnwindSafe for BevyReadbackV1
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