Frame
struct Frameimport Frame from Wax::Recording;An absolute recording frame in the Wax::Recording namespace. Distinct from ordinary integers and application frame counters; use it when selecting recorded application state.
Members
constructorconstructor
public constructor (int64 number)Creates an absolute recording frame. Negative frame numbers panic.
numbergetter
public get number() : int64The nonnegative absolute frame number.
Previousmethod
public fn Previous(int64 count = 1) : FrameMoves backward by a nonnegative count. A negative count or movement before frame zero panics.
Nextmethod
public fn Next(int64 count = 1) : FrameMoves forward by a nonnegative count. A negative count or signed 64-bit overflow panics.
OffsetBymethod
public fn OffsetBy(int64 offset) : FrameMoves by a signed count. Movement before frame zero or beyond the maximum frame panics.
DistanceFrommethod
public fn DistanceFrom(Frame earlier) : int64Returns this frame number minus earlier; the result may be negative.
GetHashCodemethod
public fn GetHashCode() : uint32Hashes the absolute frame number.
Equalsmethod
public fn Equals(Frame other) : boolTests exact frame-number equality.
CompareTomethod
public fn CompareTo(Frame other) : int32Returns -1, 0, or 1 for earlier, equal, or later frames.
ToStringmethod
public fn ToString() : stringProvided by the compiler.
ToStringBuffermethod
public fn ToStringBuffer(StringBuilder builder) : int32Provided by the compiler.