#[non_exhaustive]pub struct FrameDifference {
pub frame: u32,
pub recorded: StateHash,
pub played: StateHash,
}Expand description
The first frame that played differently from its record.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.frame: u32The frame, counted from 1.
recorded: StateHashThe hash the record holds for it.
played: StateHashThe hash it played with.
Trait Implementations§
Source§impl Clone for FrameDifference
impl Clone for FrameDifference
Source§fn clone(&self) -> FrameDifference
fn clone(&self) -> FrameDifference
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 moreimpl Copy for FrameDifference
Source§impl Debug for FrameDifference
impl Debug for FrameDifference
impl Eq for FrameDifference
Source§impl PartialEq for FrameDifference
impl PartialEq for FrameDifference
impl StructuralPartialEq for FrameDifference
Auto Trait Implementations§
impl Freeze for FrameDifference
impl RefUnwindSafe for FrameDifference
impl Send for FrameDifference
impl Sync for FrameDifference
impl Unpin for FrameDifference
impl UnsafeUnpin for FrameDifference
impl UnwindSafe for FrameDifference
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