pub trait ToNonZerowhere
    Self: PrimInt,{
    // Provided method
    fn to_nonzero(self) -> Option<NonZero<Self>> { ... }
}

Provided Methods§

source

fn to_nonzero(self) -> Option<NonZero<Self>>

Implementors§

source§

impl<T: PrimInt> ToNonZero for T