Function swiss_army_knife::non_zero::new_non_zero_i16
source · [−]pub const fn new_non_zero_i16(value: i16) -> NonZeroI16
Expand description
Similar to NonZeroI16::new_unchecked()
but checks are made when compiling with debug assertions.