pub struct BevyObservationV1 { /* private fields */ }Expand description
Typed observations retained from one Bevy load lifecycle.
Implementations§
Source§impl BevyObservationV1
impl BevyObservationV1
Sourcepub fn new(
terminal: BevyTerminalStateV1,
animations: Vec<BevyIndexedLabelV1>,
named_animation_winners: Vec<BevyNamedWinnerV1>,
named_scene_winners: Vec<BevyNamedWinnerV1>,
named_skin_winners: Vec<BevyNamedWinnerV1>,
default_scene: Option<u32>,
scenes: Vec<BevyIndexedLabelV1>,
nodes: Vec<BevyIndexedLabelV1>,
skins: Vec<BevyIndexedLabelV1>,
inverse_bind_matrices: Vec<BevyIndexedLabelV1>,
targets: Vec<BevyAnimationTargetV1>,
warnings: Vec<BevyWarningV1>,
warnings_truncated: bool,
primary_verified: bool,
dependencies_verified: bool,
) -> Self
pub fn new( terminal: BevyTerminalStateV1, animations: Vec<BevyIndexedLabelV1>, named_animation_winners: Vec<BevyNamedWinnerV1>, named_scene_winners: Vec<BevyNamedWinnerV1>, named_skin_winners: Vec<BevyNamedWinnerV1>, default_scene: Option<u32>, scenes: Vec<BevyIndexedLabelV1>, nodes: Vec<BevyIndexedLabelV1>, skins: Vec<BevyIndexedLabelV1>, inverse_bind_matrices: Vec<BevyIndexedLabelV1>, targets: Vec<BevyAnimationTargetV1>, warnings: Vec<BevyWarningV1>, warnings_truncated: bool, primary_verified: bool, dependencies_verified: bool, ) -> Self
Construct one observation; V1 validation enforces its bounds and ordering.
The direct arguments intentionally mirror the closed, flat V1 wire fields. Grouping them would add a one-use public payload solely to silence this lint, without a separate contract meaning.
Sourcepub const fn warnings_truncated(&self) -> bool
pub const fn warnings_truncated(&self) -> bool
Whether one or more warning events arrived after the bounded capture cap.
Trait Implementations§
Source§impl Clone for BevyObservationV1
impl Clone for BevyObservationV1
Source§fn clone(&self) -> BevyObservationV1
fn clone(&self) -> BevyObservationV1
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 BevyObservationV1
impl Debug for BevyObservationV1
Source§impl<'de> Deserialize<'de> for BevyObservationV1
impl<'de> Deserialize<'de> for BevyObservationV1
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 BevyObservationV1
Source§impl PartialEq for BevyObservationV1
impl PartialEq for BevyObservationV1
Source§impl Serialize for BevyObservationV1
impl Serialize for BevyObservationV1
impl StructuralPartialEq for BevyObservationV1
Auto Trait Implementations§
impl Freeze for BevyObservationV1
impl RefUnwindSafe for BevyObservationV1
impl Send for BevyObservationV1
impl Sync for BevyObservationV1
impl Unpin for BevyObservationV1
impl UnsafeUnpin for BevyObservationV1
impl UnwindSafe for BevyObservationV1
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