BitEq

Trait BitEq 

Source
pub trait BitEq {
    // Required methods
    fn biteq(&self, other: &Self) -> bool;
    fn fmt(&self, f: &mut Formatter<'_>) -> Result;
}

Required Methods§

Source

fn biteq(&self, other: &Self) -> bool

Source

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl BitEq for bool

Source§

fn biteq(&self, other: &Self) -> bool

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Source§

impl BitEq for f32

Source§

fn biteq(&self, other: &Self) -> bool

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Source§

impl BitEq for f64

Source§

fn biteq(&self, other: &Self) -> bool

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Source§

impl BitEq for i8

Source§

fn biteq(&self, other: &Self) -> bool

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Source§

impl BitEq for i16

Source§

fn biteq(&self, other: &Self) -> bool

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Source§

impl BitEq for i32

Source§

fn biteq(&self, other: &Self) -> bool

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Source§

impl BitEq for i64

Source§

fn biteq(&self, other: &Self) -> bool

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Source§

impl BitEq for i128

Source§

fn biteq(&self, other: &Self) -> bool

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Source§

impl BitEq for isize

Source§

fn biteq(&self, other: &Self) -> bool

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Source§

impl BitEq for u8

Source§

fn biteq(&self, other: &Self) -> bool

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Source§

impl BitEq for u16

Source§

fn biteq(&self, other: &Self) -> bool

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Source§

impl BitEq for u32

Source§

fn biteq(&self, other: &Self) -> bool

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Source§

impl BitEq for u64

Source§

fn biteq(&self, other: &Self) -> bool

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Source§

impl BitEq for u128

Source§

fn biteq(&self, other: &Self) -> bool

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Source§

impl BitEq for usize

Source§

fn biteq(&self, other: &Self) -> bool

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Source§

impl<T> BitEq for *const T

Source§

fn biteq(&self, other: &Self) -> bool

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Source§

impl<T> BitEq for *mut T

Source§

fn biteq(&self, other: &Self) -> bool

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Source§

impl<T: BitEq, const N: usize> BitEq for [T; N]

Source§

fn biteq(&self, other: &Self) -> bool

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Implementors§