Docs.rs
  • sway-core-0.58.0
    • sway-core 0.58.0
    • Docs.rs crate page
    • Apache-2.0
    • Links
    • Homepage
    • Repository
    • crates.io
    • Source
    • Owners
    • fuel-service-user
    • Dependencies
      • clap ^3.1 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.4.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
      • 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.58.0 normal
      • sway-error ^0.58.0 normal
      • sway-ir ^0.58.0 normal
      • sway-parse ^0.58.0 normal
      • sway-types ^0.58.0 normal
      • sway-utils ^0.58.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.58% of the crate is documented
  • Go to latest version
  • Platform
    • i686-unknown-linux-gnu
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation

DeclEngineReplace

sway_core0.58.0

DeclEngineReplace

Required Methods

  • replace

Implementors

In sway_core::decl_engine

Modules

  • associated_item_decl_id
  • id
  • parsed_id

Structs

  • DeclEngine
  • DeclRef

Enums

  • InterfaceDeclId

Traits

  • DeclEngineGet
  • DeclEngineIndex
  • DeclEngineInsert
  • DeclEngineInsertArc
  • DeclEngineReplace

Type Aliases

  • DeclRefAbi
  • DeclRefConstant
  • DeclRefEnum
  • DeclRefFunction
  • DeclRefImplTrait
  • DeclRefMixedFunctional
  • DeclRefMixedInterface
  • DeclRefStorage
  • DeclRefStruct
  • DeclRefTrait
  • DeclRefTraitFn
  • DeclRefTraitType
?
Settings

Trait sway_core::decl_engine::DeclEngineReplace

source ·
pub trait DeclEngineReplace<T> {
    // Required method
    fn replace(&self, index: DeclId<T>, decl: T);
}

Required Methods§

source

fn replace(&self, index: DeclId<T>, decl: T)

Implementors§

source§

impl DeclEngineReplace<TyAbiDecl> for DeclEngine

source§

impl DeclEngineReplace<TyConstantDecl> for DeclEngine

source§

impl DeclEngineReplace<TyEnumDecl> for DeclEngine

source§

impl DeclEngineReplace<TyFunctionDecl> for DeclEngine

source§

impl DeclEngineReplace<TyImplTrait> for DeclEngine

source§

impl DeclEngineReplace<TyStorageDecl> for DeclEngine

source§

impl DeclEngineReplace<TyStructDecl> for DeclEngine

source§

impl DeclEngineReplace<TyTraitDecl> for DeclEngine

source§

impl DeclEngineReplace<TyTraitFn> for DeclEngine

source§

impl DeclEngineReplace<TyTraitType> for DeclEngine

source§

impl DeclEngineReplace<TyTypeAliasDecl> for DeclEngine