Std.Video.compare
1 declaration
fn
compare: &Std.Video.Timestamp -> &Std.Video.Timestamp -> IntThis is a callable function.
What it does
Whether the first timestamp is earlier (-1), equal (0), or later (1).
Compared by cross-multiplication, so timestamps at different scales compare
exactly without converting either.
Read the signature
- The text after the name is the type checked by Pudu.
- Read arrows from left to right: inputs come first, and the final type is returned.
- & borrows a value for this call instead of moving or copying it.
