U64Ext

Trait U64Ext 

Source
pub trait U64Ext {
    // Required method
    fn ceil_to_multiple_of(&self, num: Self) -> Self;
}
Expand description

An extension for u64

Required Methods§

Source

fn ceil_to_multiple_of(&self, num: Self) -> Self

Ceils self to an integer multiple of num

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.

Implementations on Foreign Types§

Source§

impl U64Ext for u64

Source§

fn ceil_to_multiple_of(&self, num: Self) -> Self

Implementors§