Trait core::nonzero::Zeroable
[−]
[src]
pub unsafe trait Zeroable {
fn is_zero(&self) -> bool;
}🔬 This is a nightly-only experimental API. (nonzero #27730)
needs an RFC to flesh out the design
Unsafe trait to indicate what types are usable with the NonZero struct
Required Methods
fn is_zero(&self) -> bool
🔬 This is a nightly-only experimental API. (nonzero #27730)
needs an RFC to flesh out the design
Whether this value is zero
Implementors
impl<T: ?Sized> Zeroable for *const Timpl<T: ?Sized> Zeroable for *mut Timpl Zeroable for usizeimpl Zeroable for u8impl Zeroable for u16impl Zeroable for u32impl Zeroable for u64impl Zeroable for u128impl Zeroable for isizeimpl Zeroable for i8impl Zeroable for i16impl Zeroable for i32impl Zeroable for i64impl Zeroable for i128