Docs.rs
  • sway-core-0.60.0
    • sway-core 0.60.0
    • Docs.rs crate page
    • Apache-2.0
    • Links
    • Homepage
    • Repository
    • crates.io
    • Source
    • Owners
    • fuel-service-user
    • Dependencies
      • clap ^4.5.4 normal
      • derivative ^2.2.0 normal
      • dirs ^3.0 normal
      • either ^1.9.0 normal
      • fuel-ethabi ^18.0.0 normal
      • fuel-etk-asm ^0.3.1-dev normal
      • fuel-etk-dasm ^0.3.1-dev normal
      • fuel-etk-ops ^0.3.1-dev normal
      • fuel-abi-types ^0.5.0 normal
      • fuel-vm ^0.49.0 normal
      • gimli ^0.28.1 normal
      • graph-cycles ^0.1.0 normal
      • hashbrown ^0.13.1 normal
      • hex ^0.4 normal optional
      • im ^15.0 normal
      • indexmap ^2.0.0 normal
      • itertools ^0.10 normal
      • lazy_static ^1.4 normal
      • miden-core ^0.3.0 normal
      • object ^0.32.2 normal
      • parking_lot ^0.12 normal
      • pest ^2.1.3 normal
      • pest_derive ^2.1 normal
      • petgraph ^0.6 normal
      • rustc-hash ^1.1.0 normal
      • serde ^1.0 normal
      • serde_json ^1.0.91 normal
      • sha2 ^0.9 normal
      • strum ^0.24.1 normal
      • sway-ast ^0.60.0 normal
      • sway-error ^0.60.0 normal
      • sway-ir ^0.60.0 normal
      • sway-parse ^0.60.0 normal
      • sway-types ^0.60.0 normal
      • sway-utils ^0.60.0 normal
      • thiserror ^1.0 normal
      • tracing ^0.1 normal
      • uint ^0.9 normal
      • vec1 ^1.8.0 normal
      • sysinfo ^0.29.0 normal
    • Versions
    • 18.53% of the crate is documented
  • Go to latest version
  • Platform
    • i686-unknown-linux-gnu
    • x86_64-unknown-linux-gnu
  • Feature flags
  • Rust
    • About docs.rs
    • Privacy policy
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation

sway_core0.60.0

OrdWithEngines

Required Methods

  • cmp

Implementations on Foreign Types

  • &T
  • Box<T>
  • Option<T>
  • [T]

Object Safety

Implementors

In sway_core::engine_threading

Trait sway_core::engine_threading::OrdWithEngines

source ·
pub trait OrdWithEngines {
    // Required method
    fn cmp(&self, other: &Self, ctx: &OrdWithEnginesContext<'_>) -> Ordering;
}

Required Methods§

source

fn cmp(&self, other: &Self, ctx: &OrdWithEnginesContext<'_>) -> Ordering

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<T: OrdWithEngines + ?Sized> OrdWithEngines for &T

source§

fn cmp(&self, other: &Self, ctx: &OrdWithEnginesContext<'_>) -> Ordering

source§

impl<T: OrdWithEngines> OrdWithEngines for Option<T>

source§

fn cmp(&self, other: &Self, ctx: &OrdWithEnginesContext<'_>) -> Ordering

source§

impl<T: OrdWithEngines> OrdWithEngines for [T]

source§

fn cmp(&self, other: &Self, ctx: &OrdWithEnginesContext<'_>) -> Ordering

source§

impl<T: OrdWithEngines> OrdWithEngines for Box<T>

source§

fn cmp(&self, other: &Self, ctx: &OrdWithEnginesContext<'_>) -> Ordering

Implementors§

source§

impl OrdWithEngines for TypeInfo

source§

impl OrdWithEngines for QualifiedPathType

source§

impl OrdWithEngines for CallPathTree

source§

impl OrdWithEngines for QualifiedCallPath

source§

impl OrdWithEngines for TyEnumVariant

source§

impl OrdWithEngines for TyStructField

source§

impl OrdWithEngines for TraitConstraint

source§

impl OrdWithEngines for TypeArgument

source§

impl OrdWithEngines for TypeParameter

source§

impl<T: OrdWithEngines> OrdWithEngines for CallPath<T>