sway_core::decl_engine

Trait DeclEngineGet

Source
pub trait DeclEngineGet<I, U> {
    // Required method
    fn get(&self, index: &I) -> Arc<U>;
}

Required Methods§

Source

fn get(&self, index: &I) -> Arc<U>

Implementors§

Source§

impl DeclEngineGet<DeclId<TyAbiDecl>, TyAbiDecl> for DeclEngine

Source§

impl DeclEngineGet<DeclId<TyConfigurableDecl>, TyConfigurableDecl> for DeclEngine

Source§

impl DeclEngineGet<DeclId<TyConstantDecl>, TyConstantDecl> for DeclEngine

Source§

impl DeclEngineGet<DeclId<TyEnumDecl>, TyEnumDecl> for DeclEngine

Source§

impl DeclEngineGet<DeclId<TyFunctionDecl>, TyFunctionDecl> for DeclEngine

Source§

impl DeclEngineGet<DeclId<TyImplSelfOrTrait>, TyImplSelfOrTrait> for DeclEngine

Source§

impl DeclEngineGet<DeclId<TyStorageDecl>, TyStorageDecl> for DeclEngine

Source§

impl DeclEngineGet<DeclId<TyStructDecl>, TyStructDecl> for DeclEngine

Source§

impl DeclEngineGet<DeclId<TyTraitDecl>, TyTraitDecl> for DeclEngine

Source§

impl DeclEngineGet<DeclId<TyTraitFn>, TyTraitFn> for DeclEngine

Source§

impl DeclEngineGet<DeclId<TyTraitType>, TyTraitType> for DeclEngine

Source§

impl DeclEngineGet<DeclId<TyTypeAliasDecl>, TyTypeAliasDecl> for DeclEngine

Source§

impl DeclEngineGet<DeclRef<DeclId<TyAbiDecl>>, TyAbiDecl> for DeclEngine

Source§

impl DeclEngineGet<DeclRef<DeclId<TyConfigurableDecl>>, TyConfigurableDecl> for DeclEngine

Source§

impl DeclEngineGet<DeclRef<DeclId<TyConstantDecl>>, TyConstantDecl> for DeclEngine

Source§

impl DeclEngineGet<DeclRef<DeclId<TyEnumDecl>>, TyEnumDecl> for DeclEngine

Source§

impl DeclEngineGet<DeclRef<DeclId<TyFunctionDecl>>, TyFunctionDecl> for DeclEngine

Source§

impl DeclEngineGet<DeclRef<DeclId<TyImplSelfOrTrait>>, TyImplSelfOrTrait> for DeclEngine

Source§

impl DeclEngineGet<DeclRef<DeclId<TyStorageDecl>>, TyStorageDecl> for DeclEngine

Source§

impl DeclEngineGet<DeclRef<DeclId<TyStructDecl>>, TyStructDecl> for DeclEngine

Source§

impl DeclEngineGet<DeclRef<DeclId<TyTraitDecl>>, TyTraitDecl> for DeclEngine

Source§

impl DeclEngineGet<DeclRef<DeclId<TyTraitFn>>, TyTraitFn> for DeclEngine

Source§

impl DeclEngineGet<DeclRef<DeclId<TyTraitType>>, TyTraitType> for DeclEngine

Source§

impl DeclEngineGet<DeclRef<DeclId<TyTypeAliasDecl>>, TyTypeAliasDecl> for DeclEngine