Trait cosmic::iced_runtime::core::id::IdEq

source ·
pub trait IdEq {
    // Required method
    fn eq(&self, other: &Self) -> bool;
}
Expand description

Similar to PartialEq, but only intended for use when comparing Ids

Required Methods§

source

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

Compare two Ids for equality based on their number or name

Object Safety§

This trait is not object safe.

Implementors§