Type Definition sway_core::decl_engine::DeclRefFunction

source ·
pub type DeclRefFunction = DeclRef<DeclId<TyFunctionDecl>>;

Trait Implementations§

source§

impl TryFrom<&DeclRef<AssociatedItemDeclId>> for DeclRefFunction

§

type Error = CompileError

The type returned in the event of a conversion error.
source§

fn try_from(value: &DeclRefMixedFunctional) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<DeclRef<AssociatedItemDeclId>> for DeclRefFunction

§

type Error = CompileError

The type returned in the event of a conversion error.
source§

fn try_from(value: DeclRefMixedFunctional) -> Result<Self, Self::Error>

Performs the conversion.