pub const fn new_non_zero_u128(value: u128) -> NonZeroU128
{
	if cfg!(debug_assertions)
	{
		if value == 0
		{
			panic!("Zero for NonZeroU128")
		}
	}
	
	unsafe { NonZeroU128::new_unchecked(value) }
}
/// Similar to `NonZeroU128::new_unchecked()` but checks are made when compiling with debug assertions.
Similar to `NonZeroU128::new_unchecked()` but checks are made when compiling with debug assertions.
Similar to ` NonZeroU128 :: new_unchecked () ` but checks are made when compiling with debug assertions .
pub const fn new_non_zero_u128(value: u128) -> NonZeroU128
{
	if cfg!(debug_assertions)
	{
		if value == 0
		{
			panic!("Zero for NonZeroU128")
		}
	}
	unsafe { NonZeroU128::new_unchecked(value) }
}
pub const fn new_non_zero_u128 ( value : u128 ) -> NonZeroU128 { if cfg ! ( debug_assertions ) { if value == 0 { panic ! ( " " ) } } unsafe { NonZeroU128 :: new_unchecked ( value ) } }
Similar to `NonZeroU128::new_unchecked()` but checks are made when compiling with debug assertions.
Similar to ` NonZeroU128 :: new_unchecked () ` but checks are made when compiling with debug assertions .
value
u128
value
u128