CeilTo

Trait CeilTo 

Source
pub trait CeilTo {
    // Required method
    fn ceil_to(self, digits: i64) -> Self;
}
Expand description

✅ Rounds the number toward positive infinity to the specified number of fractional digits. If rounding would cause an overflow, returns the original value unchanged.

§Panics

This function never panics.

Required Methods§

Source

fn ceil_to(self, digits: i64) -> Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§