sway_core::engine_threading

Trait HashWithEngines

Source
pub trait HashWithEngines {
    // Required method
    fn hash<H: Hasher>(&self, state: &mut H, engines: &Engines);
}

Required Methods§

Source

fn hash<H: Hasher>(&self, state: &mut H, engines: &Engines)

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

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

Source§

fn hash<H: Hasher>(&self, state: &mut H, engines: &Engines)

Source§

impl<T: HashWithEngines> HashWithEngines for Option<T>

Source§

fn hash<H: Hasher>(&self, state: &mut H, engines: &Engines)

Source§

impl<T: HashWithEngines> HashWithEngines for [T]

Source§

fn hash<H: Hasher>(&self, state: &mut H, engines: &Engines)

Source§

impl<T: HashWithEngines> HashWithEngines for Box<T>

Source§

fn hash<H: Hasher>(&self, state: &mut H, engines: &Engines)

Source§

impl<T: HashWithEngines> HashWithEngines for Arc<T>

Source§

fn hash<H: Hasher>(&self, state: &mut H, engines: &Engines)

Implementors§

Source§

impl HashWithEngines for ProjectionKind

Source§

impl HashWithEngines for TyAstNodeContent

Source§

impl HashWithEngines for TyDecl

Source§

impl HashWithEngines for TyExpressionVariant

Source§

impl HashWithEngines for TyReassignmentTarget

Source§

impl HashWithEngines for TyTraitInterfaceItem

Source§

impl HashWithEngines for TyTraitItem

Source§

impl HashWithEngines for TypeInfo

Source§

impl HashWithEngines for Supertrait

Source§

impl HashWithEngines for QualifiedPathType

Source§

impl HashWithEngines for CallPathTree

Source§

impl HashWithEngines for QualifiedCallPath

Source§

impl HashWithEngines for TyAbiDecl

Source§

impl HashWithEngines for TyAsmRegisterDeclaration

Source§

impl HashWithEngines for TyAstNode

Source§

impl HashWithEngines for TyCodeBlock

Source§

impl HashWithEngines for TyConfigurableDecl

Source§

impl HashWithEngines for TyConstantDecl

Source§

impl HashWithEngines for TyEnumDecl

Source§

impl HashWithEngines for TyEnumVariant

Source§

impl HashWithEngines for TyExpression

Source§

impl HashWithEngines for TyFunctionDecl

Source§

impl HashWithEngines for TyFunctionParameter

Source§

impl HashWithEngines for TyImplSelfOrTrait

Source§

impl HashWithEngines for TyIntrinsicFunctionKind

Source§

impl HashWithEngines for TyReassignment

Source§

impl HashWithEngines for TyStorageAccess

Source§

impl HashWithEngines for TyStorageAccessDescriptor

Source§

impl HashWithEngines for TyStorageDecl

Source§

impl HashWithEngines for TyStorageField

Source§

impl HashWithEngines for TyStructDecl

Source§

impl HashWithEngines for TyStructExpressionField

Source§

impl HashWithEngines for TyStructField

Source§

impl HashWithEngines for TyTraitDecl

Source§

impl HashWithEngines for TyTraitFn

Source§

impl HashWithEngines for TyTraitType

Source§

impl HashWithEngines for TyTypeAliasDecl

Source§

impl HashWithEngines for TyVariableDecl

Source§

impl HashWithEngines for TraitConstraint

Source§

impl HashWithEngines for TypeArgument

Source§

impl HashWithEngines for TypeParameter

Source§

impl HashWithEngines for DeclRefMixedInterface

Source§

impl<T> HashWithEngines for DeclId<T>

Source§

impl<T> HashWithEngines for ParsedDeclId<T>

Source§

impl<T> HashWithEngines for DeclRef<DeclId<T>>