kecc

Trait IsEquiv

Source
pub trait IsEquiv {
    // Required method
    fn is_equiv(&self, other: &Self) -> bool;
}
Expand description

Essentially the same as PartialEq.

Exists to check equaility on some foreign types.

Required Methods§

Source

fn is_equiv(&self, other: &Self) -> 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 IsEquiv for ArraySize

Source§

fn is_equiv(&self, other: &Self) -> bool

Source§

impl IsEquiv for BinaryOperator

Source§

fn is_equiv(&self, other: &Self) -> bool

Source§

impl IsEquiv for BlockItem

Source§

fn is_equiv(&self, other: &Self) -> bool

Source§

impl IsEquiv for Constant

Source§

fn is_equiv(&self, other: &Self) -> bool

Source§

impl IsEquiv for DeclarationSpecifier

Source§

fn is_equiv(&self, other: &Self) -> bool

Source§

impl IsEquiv for DeclaratorKind

Source§

fn is_equiv(&self, other: &Self) -> bool

Source§

impl IsEquiv for DerivedDeclarator

Source§

fn is_equiv(&self, other: &Self) -> bool

Source§

impl IsEquiv for Expression

Source§

fn is_equiv(&self, other: &Self) -> bool

Source§

impl IsEquiv for ExternalDeclaration

Source§

fn is_equiv(&self, other: &Self) -> bool

Source§

impl IsEquiv for ForInitializer

Source§

fn is_equiv(&self, other: &Self) -> bool

Source§

impl IsEquiv for Initializer

Source§

fn is_equiv(&self, other: &Self) -> bool

Source§

impl IsEquiv for IntegerBase

Source§

fn is_equiv(&self, other: &Self) -> bool

Source§

impl IsEquiv for Label

Source§

fn is_equiv(&self, other: &Self) -> bool

Source§

impl IsEquiv for MemberOperator

Source§

fn is_equiv(&self, other: &Self) -> bool

Source§

impl IsEquiv for PointerQualifier

Source§

fn is_equiv(&self, other: &Self) -> bool

Source§

impl IsEquiv for SpecifierQualifier

Source§

fn is_equiv(&self, other: &Self) -> bool

Source§

impl IsEquiv for Statement

Source§

fn is_equiv(&self, other: &Self) -> bool

Source§

impl IsEquiv for StorageClassSpecifier

Source§

fn is_equiv(&self, other: &Self) -> bool

Source§

impl IsEquiv for StructDeclaration

Source§

fn is_equiv(&self, other: &Self) -> bool

Source§

impl IsEquiv for StructKind

Source§

fn is_equiv(&self, other: &Self) -> bool

Source§

impl IsEquiv for TypeQualifier

Source§

fn is_equiv(&self, other: &Self) -> bool

Source§

impl IsEquiv for TypeSpecifier

Source§

fn is_equiv(&self, other: &Self) -> bool

Source§

impl IsEquiv for UnaryOperator

Source§

fn is_equiv(&self, other: &Self) -> bool

Source§

impl IsEquiv for AlignOf

Source§

fn is_equiv(&self, other: &Self) -> bool

Source§

impl IsEquiv for CallExpression

Source§

fn is_equiv(&self, other: &Self) -> bool

Source§

impl IsEquiv for Declaration

Source§

fn is_equiv(&self, other: &Self) -> bool

Source§

impl IsEquiv for Declarator

Source§

fn is_equiv(&self, other: &Self) -> bool

Source§

impl IsEquiv for EnumType

Source§

fn is_equiv(&self, other: &Self) -> bool

Source§

impl IsEquiv for Enumerator

Source§

fn is_equiv(&self, other: &Self) -> bool

Source§

impl IsEquiv for FloatSuffix

Source§

fn is_equiv(&self, other: &Self) -> bool

Source§

impl IsEquiv for FunctionDefinition

Source§

fn is_equiv(&self, other: &Self) -> bool

Source§

impl IsEquiv for Identifier

Source§

fn is_equiv(&self, other: &Self) -> bool

Source§

impl IsEquiv for InitDeclarator

Source§

fn is_equiv(&self, other: &Self) -> bool

Source§

impl IsEquiv for InitializerListItem

Source§

fn is_equiv(&self, other: &Self) -> bool

Source§

impl IsEquiv for IntegerSuffix

Source§

fn is_equiv(&self, other: &Self) -> bool

Source§

impl IsEquiv for MemberExpression

Source§

fn is_equiv(&self, other: &Self) -> bool

Source§

impl IsEquiv for ParameterDeclaration

Source§

fn is_equiv(&self, other: &Self) -> bool

Source§

impl IsEquiv for SizeOfTy

Source§

fn is_equiv(&self, other: &Self) -> bool

Source§

impl IsEquiv for SizeOfVal

Source§

fn is_equiv(&self, other: &Self) -> bool

Source§

impl IsEquiv for StructDeclarator

Source§

fn is_equiv(&self, other: &Self) -> bool

Source§

impl IsEquiv for StructField

Source§

fn is_equiv(&self, other: &Self) -> bool

Source§

impl IsEquiv for StructType

Source§

fn is_equiv(&self, other: &Self) -> bool

Source§

impl IsEquiv for TranslationUnit

Source§

fn is_equiv(&self, other: &Self) -> bool

Source§

impl IsEquiv for TypeName

Source§

fn is_equiv(&self, other: &Self) -> bool

Source§

impl IsEquiv for StringLiteral

Source§

fn is_equiv(&self, other: &Self) -> bool

Source§

impl<T: IsEquiv> IsEquiv for Option<T>

Source§

fn is_equiv(&self, other: &Self) -> bool

Source§

impl<T: IsEquiv> IsEquiv for &T

Source§

fn is_equiv(&self, other: &Self) -> bool

Source§

impl<T: IsEquiv> IsEquiv for Node<T>

Source§

fn is_equiv(&self, other: &Self) -> bool

Source§

impl<T: IsEquiv> IsEquiv for Box<T>

Source§

fn is_equiv(&self, other: &Self) -> bool

Source§

impl<T: IsEquiv> IsEquiv for Vec<T>

Source§

fn is_equiv(&self, other: &Self) -> bool

Implementors§

Source§

impl IsEquiv for kecc::ir::Declaration

Source§

impl IsEquiv for kecc::ir::FunctionDefinition

Source§

impl IsEquiv for kecc::ir::TranslationUnit