EguiStructEq

Trait EguiStructEq 

Source
pub trait EguiStructEq {
    // Provided method
    fn eguis_eq(&self, _rhs: &Self) -> bool { ... }
}
Expand description

Similar to std PartialEq trait, but they respect #[eguis(skip)].

Necessary to implement EguiStruct. Used to provide reset functionality (if reset is not used, may be blank impl).

If type is PartialEq can be implemented with impl_eeq!/impl_eeqclone!.

Provided Methods§

Source

fn eguis_eq(&self, _rhs: &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 EguiStructEq for bool

Source§

fn eguis_eq(&self, rhs: &Self) -> bool

Source§

impl EguiStructEq for f32

Source§

fn eguis_eq(&self, rhs: &Self) -> bool

Source§

impl EguiStructEq for f64

Source§

fn eguis_eq(&self, rhs: &Self) -> bool

Source§

impl EguiStructEq for i8

Source§

fn eguis_eq(&self, rhs: &Self) -> bool

Source§

impl EguiStructEq for i16

Source§

fn eguis_eq(&self, rhs: &Self) -> bool

Source§

impl EguiStructEq for i32

Source§

fn eguis_eq(&self, rhs: &Self) -> bool

Source§

impl EguiStructEq for i64

Source§

fn eguis_eq(&self, rhs: &Self) -> bool

Source§

impl EguiStructEq for i128

Source§

fn eguis_eq(&self, rhs: &Self) -> bool

Source§

impl EguiStructEq for isize

Source§

fn eguis_eq(&self, rhs: &Self) -> bool

Source§

impl EguiStructEq for u8

Source§

fn eguis_eq(&self, rhs: &Self) -> bool

Source§

impl EguiStructEq for u16

Source§

fn eguis_eq(&self, rhs: &Self) -> bool

Source§

impl EguiStructEq for u32

Source§

fn eguis_eq(&self, rhs: &Self) -> bool

Source§

impl EguiStructEq for u64

Source§

fn eguis_eq(&self, rhs: &Self) -> bool

Source§

impl EguiStructEq for u128

Source§

fn eguis_eq(&self, rhs: &Self) -> bool

Source§

impl EguiStructEq for usize

Source§

fn eguis_eq(&self, rhs: &Self) -> bool

Source§

impl EguiStructEq for String

Source§

fn eguis_eq(&self, rhs: &Self) -> bool

Source§

impl<Q: ToString + Eq + Hash, V: EguiStructEq> EguiStructEq for HashMap<Q, V>

Source§

fn eguis_eq(&self, rhs: &Self) -> bool

Source§

impl<T: EguiStructEq> EguiStructEq for Option<T>

Source§

fn eguis_eq(&self, rhs: &Self) -> bool

Source§

impl<T: EguiStructEq> EguiStructEq for [T]

Source§

fn eguis_eq(&self, rhs: &Self) -> bool

Source§

impl<T: EguiStructEq> EguiStructEq for Vec<T>

Source§

fn eguis_eq(&self, rhs: &Self) -> bool

Implementors§