rstd 0.1.0
Loading...
Searching...
No Matches
rstd::cmp::PartialEq< Rhs > Struct Template Referenceexport
module rstd.core

Trait for partial equality comparisons, analogous to Rust's PartialEq. More...

Detailed Description

template<typename Rhs>
struct rstd::cmp::PartialEq< Rhs >

Trait for partial equality comparisons, analogous to Rust's PartialEq.

Implementors provide:

  • eq(const Rhs& other) noexcept -> bool : Returns true if self equals other.
  • ne(const Rhs& other) noexcept -> bool : Returns true if self does not equal other (has default).
    Template Parameters
    RhsThe type to compare against.

The documentation for this struct was generated from the following file: