#[non_exhaustive]pub struct Played {
pub frames: u32,
pub of: u32,
pub first_difference: Option<FrameDifference>,
pub limits: Vec<String>,
}Expand description
How far the test Harness has played its record (Harness::play_to).
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.frames: u32The record’s frames played so far.
of: u32The frames the record holds.
first_difference: Option<FrameDifference>The first frame that played differently: the playing stopped there.
limits: Vec<String>What the playing can’t promise, one line each (prepare), and,
once a script’s frame has run, what no longer comes from the record.
Trait Implementations§
impl Eq for Played
impl StructuralPartialEq for Played
Auto Trait Implementations§
impl Freeze for Played
impl RefUnwindSafe for Played
impl Send for Played
impl Sync for Played
impl Unpin for Played
impl UnsafeUnpin for Played
impl UnwindSafe for Played
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