Docs.rs
  • sway-core-0.61.1
    • sway-core 0.61.1
    • 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-ops ^0.3.1-dev normal
      • fuel-abi-types ^0.5.0 normal
      • fuel-vm ^0.52.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.61.1 normal
      • sway-error ^0.61.1 normal
      • sway-ir ^0.61.1 normal
      • sway-parse ^0.61.1 normal
      • sway-types ^0.61.1 normal
      • sway-utils ^0.61.1 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.12% 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.61.1

DeclEngineInsert

Required Methods

  • insert

Implementors

In sway_core::decl_engine

Trait sway_core::decl_engine::DeclEngineInsert

source ·
pub trait DeclEngineInsert<T>
where T: Named + Spanned,
{ // Required method fn insert(&self, decl: T) -> DeclRef<DeclId<T>>; }

Required Methods§

source

fn insert(&self, decl: T) -> DeclRef<DeclId<T>>

Implementors§

source§

impl DeclEngineInsert<TyAbiDecl> for DeclEngine

source§

impl DeclEngineInsert<TyConfigurableDecl> for DeclEngine

source§

impl DeclEngineInsert<TyConstantDecl> for DeclEngine

source§

impl DeclEngineInsert<TyEnumDecl> for DeclEngine

source§

impl DeclEngineInsert<TyFunctionDecl> for DeclEngine

source§

impl DeclEngineInsert<TyImplTrait> for DeclEngine

source§

impl DeclEngineInsert<TyStorageDecl> for DeclEngine

source§

impl DeclEngineInsert<TyStructDecl> for DeclEngine

source§

impl DeclEngineInsert<TyTraitDecl> for DeclEngine

source§

impl DeclEngineInsert<TyTraitFn> for DeclEngine

source§

impl DeclEngineInsert<TyTraitType> for DeclEngine

source§

impl DeclEngineInsert<TyTypeAliasDecl> for DeclEngine