pub trait Round: Copy { // Required method fn round(self) -> Self; }
Defines the nearest integer value to the original value.
Rounds to the nearest integer value.
This behavior is preserved for negative values (unlike the basic cast).