Skip to main content

ZeroablePrimitiveSpecImpl

Trait ZeroablePrimitiveSpecImpl 

Source
pub trait ZeroablePrimitiveSpecImpl:
    Sized
    + Copy
    + ZeroablePrimitive {
    // Required method
    exec fn is_zero(self) -> bool;
}

Required Methods§

Source

exec fn is_zero(self) -> bool

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl ZeroablePrimitiveSpecImpl for char

Source§

open spec fn is_zero(self) -> bool

{ self == 0 }
Source§

impl ZeroablePrimitiveSpecImpl for i8

Source§

open spec fn is_zero(self) -> bool

{ self == 0 }
Source§

impl ZeroablePrimitiveSpecImpl for i16

Source§

open spec fn is_zero(self) -> bool

{ self == 0 }
Source§

impl ZeroablePrimitiveSpecImpl for i32

Source§

open spec fn is_zero(self) -> bool

{ self == 0 }
Source§

impl ZeroablePrimitiveSpecImpl for i64

Source§

open spec fn is_zero(self) -> bool

{ self == 0 }
Source§

impl ZeroablePrimitiveSpecImpl for i128

Source§

open spec fn is_zero(self) -> bool

{ self == 0 }
Source§

impl ZeroablePrimitiveSpecImpl for isize

Source§

open spec fn is_zero(self) -> bool

{ self == 0 }
Source§

impl ZeroablePrimitiveSpecImpl for u8

Source§

open spec fn is_zero(self) -> bool

{ self == 0 }
Source§

impl ZeroablePrimitiveSpecImpl for u16

Source§

open spec fn is_zero(self) -> bool

{ self == 0 }
Source§

impl ZeroablePrimitiveSpecImpl for u32

Source§

open spec fn is_zero(self) -> bool

{ self == 0 }
Source§

impl ZeroablePrimitiveSpecImpl for u64

Source§

open spec fn is_zero(self) -> bool

{ self == 0 }
Source§

impl ZeroablePrimitiveSpecImpl for u128

Source§

open spec fn is_zero(self) -> bool

{ self == 0 }
Source§

impl ZeroablePrimitiveSpecImpl for usize

Source§

open spec fn is_zero(self) -> bool

{ self == 0 }

Implementors§