Function swiss_army_knife::non_zero::new_non_zero_i32[][src]

pub const fn new_non_zero_i32(value: i32) -> NonZeroI32
Expand description

Similar to NonZeroI32::new_unchecked() but checks are made when compiling with debug assertions.