pub struct CastRow {
pub t: f64,
pub kind: CastRowKind,
pub payload: String,
}Expand description
One row of an asciinema v2 .cast.
Fields§
§t: f64Wall-clock-seconds since the recording began.
kind: CastRowKind§payload: StringRaw bytes written/typed at t. Stored as String because
the asciinema v2 wire is JSON strings; callers that need to
re-emit invoke .as_bytes().
Implementations§
Trait Implementations§
impl StructuralPartialEq for CastRow
Auto Trait Implementations§
impl Freeze for CastRow
impl RefUnwindSafe for CastRow
impl Send for CastRow
impl Sync for CastRow
impl Unpin for CastRow
impl UnsafeUnpin for CastRow
impl UnwindSafe for CastRow
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