sway_core::engine_threading

Trait PartialEqWithEngines

Source
pub trait PartialEqWithEngines {
    // Required method
    fn eq(&self, other: &Self, ctx: &PartialEqWithEnginesContext<'_>) -> bool;
}

Required Methods§

Source

fn eq(&self, other: &Self, ctx: &PartialEqWithEnginesContext<'_>) -> bool

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 PartialEqWithEngines for (TypeInfo, Ident)

Source§

fn eq(&self, other: &Self, ctx: &PartialEqWithEnginesContext<'_>) -> bool

Source§

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

Source§

fn eq(&self, other: &Self, ctx: &PartialEqWithEnginesContext<'_>) -> bool

Source§

impl<T: PartialEqWithEngines> PartialEqWithEngines for Option<T>

Source§

fn eq(&self, other: &Self, ctx: &PartialEqWithEnginesContext<'_>) -> bool

Source§

impl<T: PartialEqWithEngines> PartialEqWithEngines for [T]

Source§

fn eq(&self, other: &Self, ctx: &PartialEqWithEnginesContext<'_>) -> bool

Source§

impl<T: PartialEqWithEngines> PartialEqWithEngines for Box<T>

Source§

fn eq(&self, other: &Self, ctx: &PartialEqWithEnginesContext<'_>) -> bool

Source§

impl<T: PartialEqWithEngines> PartialEqWithEngines for Vec<T>

Source§

fn eq(&self, other: &Self, ctx: &PartialEqWithEnginesContext<'_>) -> bool

Implementors§

Source§

impl PartialEqWithEngines for ParsedInterfaceDeclId

Source§

impl PartialEqWithEngines for Declaration

Source§

impl PartialEqWithEngines for ImplItem

Source§

impl PartialEqWithEngines for StorageEntry

Source§

impl PartialEqWithEngines for TraitItem

Source§

impl PartialEqWithEngines for AstNodeContent

Source§

impl PartialEqWithEngines for ExpressionKind

Source§

impl PartialEqWithEngines for MethodName

Source§

impl PartialEqWithEngines for ReassignmentTarget

Source§

impl PartialEqWithEngines for Scrutinee

Source§

impl PartialEqWithEngines for StructScrutineeField

Source§

impl PartialEqWithEngines for ProjectionKind

Source§

impl PartialEqWithEngines for TyAstNodeContent

Source§

impl PartialEqWithEngines for TyDecl

Source§

impl PartialEqWithEngines for TyExpressionVariant

Source§

impl PartialEqWithEngines for TyReassignmentTarget

Source§

impl PartialEqWithEngines for TyTraitInterfaceItem

Source§

impl PartialEqWithEngines for TyTraitItem

Source§

impl PartialEqWithEngines for ResolvedDeclaration

Source§

impl PartialEqWithEngines for TypeInfo

Source§

impl PartialEqWithEngines for FunctionDeclaration

Source§

impl PartialEqWithEngines for FunctionParameter

Source§

impl PartialEqWithEngines for AbiDeclaration

Source§

impl PartialEqWithEngines for ConstantDeclaration

Source§

impl PartialEqWithEngines for EnumDeclaration

Source§

impl PartialEqWithEngines for EnumVariant

Source§

impl PartialEqWithEngines for ImplSelfOrTrait

Source§

impl PartialEqWithEngines for StorageDeclaration

Source§

impl PartialEqWithEngines for StorageField

Source§

impl PartialEqWithEngines for StorageNamespace

Source§

impl PartialEqWithEngines for StructDeclaration

Source§

impl PartialEqWithEngines for StructField

Source§

impl PartialEqWithEngines for Supertrait

Source§

impl PartialEqWithEngines for TraitDeclaration

Source§

impl PartialEqWithEngines for TraitTypeDeclaration

Source§

impl PartialEqWithEngines for TypeAliasDeclaration

Source§

impl PartialEqWithEngines for VariableDeclaration

Source§

impl PartialEqWithEngines for AbiCastExpression

Source§

impl PartialEqWithEngines for AmbiguousPathExpression

Source§

impl PartialEqWithEngines for AmbiguousSuffix

Source§

impl PartialEqWithEngines for ArrayExpression

Source§

impl PartialEqWithEngines for ArrayIndexExpression

Source§

impl PartialEqWithEngines for AstNode

Source§

impl PartialEqWithEngines for CodeBlock

Source§

impl PartialEqWithEngines for DelineatedPathExpression

Source§

impl PartialEqWithEngines for Expression

Source§

impl PartialEqWithEngines for ForLoopExpression

Source§

impl PartialEqWithEngines for FunctionApplicationExpression

Source§

impl PartialEqWithEngines for IfExpression

Source§

impl PartialEqWithEngines for IntrinsicFunctionExpression

Source§

impl PartialEqWithEngines for LazyOperatorExpression

Source§

impl PartialEqWithEngines for MatchExpression

Source§

impl PartialEqWithEngines for MethodApplicationExpression

Source§

impl PartialEqWithEngines for QualifiedPathType

Source§

impl PartialEqWithEngines for ReassignmentExpression

Source§

impl PartialEqWithEngines for RefExpression

Source§

impl PartialEqWithEngines for StorageAccessExpression

Source§

impl PartialEqWithEngines for StructExpression

Source§

impl PartialEqWithEngines for StructExpressionField

Source§

impl PartialEqWithEngines for SubfieldExpression

Source§

impl PartialEqWithEngines for TupleIndexExpression

Source§

impl PartialEqWithEngines for WhileLoopExpression

Source§

impl PartialEqWithEngines for CallPath

Source§

impl PartialEqWithEngines for CallPathTree

Source§

impl PartialEqWithEngines for QualifiedCallPath

Source§

impl PartialEqWithEngines for TyAbiDecl

Source§

impl PartialEqWithEngines for TyAsmRegisterDeclaration

Source§

impl PartialEqWithEngines for TyAstNode

Source§

impl PartialEqWithEngines for TyCodeBlock

Source§

impl PartialEqWithEngines for TyConfigurableDecl

Source§

impl PartialEqWithEngines for TyConstantDecl

Source§

impl PartialEqWithEngines for TyEnumDecl

Source§

impl PartialEqWithEngines for TyEnumVariant

Source§

impl PartialEqWithEngines for TyExpression

Source§

impl PartialEqWithEngines for TyFunctionDecl

Source§

impl PartialEqWithEngines for TyFunctionParameter

Source§

impl PartialEqWithEngines for TyImplSelfOrTrait

Source§

impl PartialEqWithEngines for TyIntrinsicFunctionKind

Source§

impl PartialEqWithEngines for TyReassignment

Source§

impl PartialEqWithEngines for TyStorageAccess

Source§

impl PartialEqWithEngines for TyStorageAccessDescriptor

Source§

impl PartialEqWithEngines for TyStorageDecl

Source§

impl PartialEqWithEngines for TyStorageField

Source§

impl PartialEqWithEngines for TyStructDecl

Source§

impl PartialEqWithEngines for TyStructExpressionField

Source§

impl PartialEqWithEngines for TyStructField

Source§

impl PartialEqWithEngines for TyTraitDecl

Source§

impl PartialEqWithEngines for TyTraitFn

Source§

impl PartialEqWithEngines for TyTraitType

Source§

impl PartialEqWithEngines for TyTypeAliasDecl

Source§

impl PartialEqWithEngines for TyVariableDecl

Source§

impl PartialEqWithEngines for TraitConstraint

Source§

impl PartialEqWithEngines for TypeArgument

Source§

impl PartialEqWithEngines for TypeParameter

Source§

impl PartialEqWithEngines for DeclRefMixedInterface

Source§

impl<T> PartialEqWithEngines for DeclId<T>

Source§

impl<T> PartialEqWithEngines for ParsedDeclId<T>

Source§

impl<T> PartialEqWithEngines for DeclRef<DeclId<T>>

Source§

impl<T: PartialEqWithEngines> PartialEqWithEngines for CallPath<T>