compare
Compares two Instants, returning -1, 0, or 1 if the first is before, equal, or after the second.
Parameters
Source
Implementation
pub fn compare(a: Instant, b: Instant) i8 {
return abi.c.temporal_rs_Instant_compare(a._inner, b._inner);
}Compares two Instants, returning -1, 0, or 1 if the first is before, equal, or after the second.
Source
pub fn compare(a: Instant, b: Instant) i8 {
return abi.c.temporal_rs_Instant_compare(a._inner, b._inner);
}