constvec

Trait ConstEq

Source
pub trait ConstEq {
    // Required method
    fn eq(&self, other: &Self) -> bool;
}

Required Methods§

Source

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

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 ConstEq for bool

Source§

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

Source§

impl ConstEq for f32

Source§

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

Source§

impl ConstEq for f64

Source§

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

Source§

impl ConstEq for i8

Source§

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

Source§

impl ConstEq for i16

Source§

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

Source§

impl ConstEq for i32

Source§

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

Source§

impl ConstEq for i64

Source§

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

Source§

impl ConstEq for i128

Source§

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

Source§

impl ConstEq for isize

Source§

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

Source§

impl ConstEq for u8

Source§

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

Source§

impl ConstEq for u16

Source§

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

Source§

impl ConstEq for u32

Source§

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

Source§

impl ConstEq for u64

Source§

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

Source§

impl ConstEq for u128

Source§

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

Source§

impl ConstEq for usize

Source§

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

Implementors§

Source§

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