Trait Eqpub

Source
:trait(pub) Eq other
  .= ( Self other  Bool )
  .≠ ( Self other  Bool ) ;
Description

Equality comparison. .≠ defaults to the negation of .=; impls SHOULD override only for performance.

Required Methods

.= ( Self other Bool )

Test whether two values are equal.

Provided Methods

.≠ ( Self other Bool )default

Test whether two values are not equal. Default: negation of .=.

Implementors

impl Eq for Int

impl Eq for Bool

impl Eq for Float

impl Eq for Str

impl Eq for Symbol

impl Eq for IDuration

impl Eq for Instant

impl Eq for Locale