Skip to main content

IsntNonZeroU64Ext

Trait IsntNonZeroU64Ext 

Source
pub trait IsntNonZeroU64Ext: Sealed {
    // Required method
    fn is_not_power_of_two(self) -> bool;
}
Expand description

Extension for NonZero

Required Methods§

Source

fn is_not_power_of_two(self) -> bool

The negation of is_power_of_two

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl IsntNonZeroU64Ext for NonZero<u64>

Implementors§