Trait glsl_lang::ast::NodeContentEq [−][src]
Trait for comparing the content of syntax nodes
Required methods
pub fn content_eq(&self, other: &Self) -> bool[src]
Compares this node’s contents with the other’s
Parameters
other: other node to compare the contents from
Returns
true if both node’s contents are equal, regardless of their span information.
Implementations on Foreign Types
impl NodeContentEq for f32[src]
pub fn content_eq(&self, other: &f32) -> bool[src]
impl<T> NodeContentEq for Box<T, Global> where
T: NodeContentEq, [src]
T: NodeContentEq,
pub fn content_eq(&self, other: &Box<T, Global>) -> bool[src]
impl NodeContentEq for f64[src]
pub fn content_eq(&self, other: &f64) -> bool[src]
impl<T> NodeContentEq for Option<T> where
T: NodeContentEq, [src]
T: NodeContentEq,
pub fn content_eq(&self, other: &Option<T>) -> bool[src]
impl<'_, T, U> NodeContentEq for Result<(&'_ str, T), U> where
T: NodeContentEq,
U: PartialEq<U>, [src]
T: NodeContentEq,
U: PartialEq<U>,
impl NodeContentEq for u32[src]
pub fn content_eq(&self, other: &u32) -> bool[src]
impl<'_> NodeContentEq for Cow<'_, str>[src]
pub fn content_eq(&self, other: &Cow<'_, str>) -> bool[src]
impl<T, U> NodeContentEq for Result<T, U> where
T: NodeContentEq,
U: PartialEq<U>, [src]
T: NodeContentEq,
U: PartialEq<U>,
pub fn content_eq(&self, other: &Result<T, U>) -> bool[src]
impl NodeContentEq for usize[src]
pub fn content_eq(&self, other: &usize) -> bool[src]
impl<T> NodeContentEq for Vec<T, Global> where
T: NodeContentEq, [src]
T: NodeContentEq,
pub fn content_eq(&self, other: &Vec<T, Global>) -> bool[src]
impl NodeContentEq for ()[src]
pub fn content_eq(&self, other: &()) -> bool[src]
impl NodeContentEq for u16[src]
pub fn content_eq(&self, other: &u16) -> bool[src]
impl NodeContentEq for char[src]
pub fn content_eq(&self, other: &char) -> bool[src]
impl NodeContentEq for String[src]
pub fn content_eq(&self, other: &String) -> bool[src]
impl NodeContentEq for bool[src]
pub fn content_eq(&self, other: &bool) -> bool[src]
impl NodeContentEq for i32[src]
pub fn content_eq(&self, other: &i32) -> bool[src]
impl<'_> NodeContentEq for &'_ str[src]
pub fn content_eq(&self, other: &&'_ str) -> bool[src]
Implementors
impl NodeContentEq for ArraySpecifierDimension[src]
fn content_eq(&self, other: &Self) -> bool[src]
impl NodeContentEq for AssignmentOp[src]
fn content_eq(&self, other: &Self) -> bool[src]
impl NodeContentEq for BinaryOp[src]
fn content_eq(&self, other: &Self) -> bool[src]
impl NodeContentEq for CaseLabel[src]
fn content_eq(&self, other: &Self) -> bool[src]
impl NodeContentEq for CommentData[src]
fn content_eq(&self, other: &Self) -> bool[src]
impl NodeContentEq for Condition[src]
fn content_eq(&self, other: &Self) -> bool[src]
impl NodeContentEq for DeclarationData[src]
fn content_eq(&self, other: &Self) -> bool[src]
impl NodeContentEq for Expr[src]
fn content_eq(&self, other: &Self) -> bool[src]
impl NodeContentEq for ExternalDeclarationData[src]
fn content_eq(&self, other: &Self) -> bool[src]
impl NodeContentEq for ForInitStatement[src]
fn content_eq(&self, other: &Self) -> bool[src]
impl NodeContentEq for FunIdentifier[src]
fn content_eq(&self, other: &Self) -> bool[src]
impl NodeContentEq for FunctionParameterDeclarationData[src]
fn content_eq(&self, other: &Self) -> bool[src]
impl NodeContentEq for Initializer[src]
fn content_eq(&self, other: &Self) -> bool[src]
impl NodeContentEq for InterpolationQualifier[src]
fn content_eq(&self, other: &Self) -> bool[src]
impl NodeContentEq for IterationStatement[src]
fn content_eq(&self, other: &Self) -> bool[src]
impl NodeContentEq for JumpStatement[src]
fn content_eq(&self, other: &Self) -> bool[src]
impl NodeContentEq for LayoutQualifierSpec[src]
fn content_eq(&self, other: &Self) -> bool[src]
impl NodeContentEq for Path[src]
fn content_eq(&self, other: &Self) -> bool[src]
impl NodeContentEq for PrecisionQualifier[src]
fn content_eq(&self, other: &Self) -> bool[src]
impl NodeContentEq for PreprocessorData[src]
fn content_eq(&self, other: &Self) -> bool[src]
impl NodeContentEq for PreprocessorDefine[src]
fn content_eq(&self, other: &Self) -> bool[src]
impl NodeContentEq for PreprocessorExtensionBehavior[src]
fn content_eq(&self, other: &Self) -> bool[src]
impl NodeContentEq for PreprocessorExtensionName[src]
fn content_eq(&self, other: &Self) -> bool[src]
impl NodeContentEq for PreprocessorVersionProfile[src]
fn content_eq(&self, other: &Self) -> bool[src]
impl NodeContentEq for SelectionRestStatement[src]
fn content_eq(&self, other: &Self) -> bool[src]
impl NodeContentEq for StatementData[src]
fn content_eq(&self, other: &Self) -> bool[src]
impl NodeContentEq for StorageQualifier[src]
fn content_eq(&self, other: &Self) -> bool[src]
impl NodeContentEq for TypeQualifierSpec[src]
fn content_eq(&self, other: &Self) -> bool[src]
impl NodeContentEq for TypeSpecifierNonArray[src]
fn content_eq(&self, other: &Self) -> bool[src]
impl NodeContentEq for UnaryOp[src]
fn content_eq(&self, other: &Self) -> bool[src]
impl NodeContentEq for ArraySpecifier[src]
fn content_eq(&self, other: &Self) -> bool[src]
impl NodeContentEq for ArrayedIdentifier[src]
fn content_eq(&self, other: &Self) -> bool[src]
impl NodeContentEq for Block[src]
fn content_eq(&self, other: &Self) -> bool[src]
impl NodeContentEq for CompoundStatementData[src]
fn content_eq(&self, other: &Self) -> bool[src]
impl NodeContentEq for ExprStatement[src]
fn content_eq(&self, other: &Self) -> bool[src]
impl NodeContentEq for ForRestStatement[src]
fn content_eq(&self, other: &Self) -> bool[src]
impl NodeContentEq for FullySpecifiedType[src]
fn content_eq(&self, other: &Self) -> bool[src]
impl NodeContentEq for FunctionDefinitionData[src]
fn content_eq(&self, other: &Self) -> bool[src]
impl NodeContentEq for FunctionParameterDeclarator[src]
fn content_eq(&self, other: &Self) -> bool[src]
impl NodeContentEq for FunctionPrototypeData[src]
fn content_eq(&self, other: &Self) -> bool[src]
impl NodeContentEq for IdentifierData[src]
fn content_eq(&self, other: &Self) -> bool[src]
impl NodeContentEq for InitDeclaratorList[src]
fn content_eq(&self, other: &Self) -> bool[src]
impl NodeContentEq for LayoutQualifier[src]
fn content_eq(&self, other: &Self) -> bool[src]
impl NodeContentEq for PreprocessorElseIf[src]
fn content_eq(&self, other: &Self) -> bool[src]
impl NodeContentEq for PreprocessorError[src]
fn content_eq(&self, other: &Self) -> bool[src]
impl NodeContentEq for PreprocessorExtension[src]
fn content_eq(&self, other: &Self) -> bool[src]
impl NodeContentEq for PreprocessorIf[src]
fn content_eq(&self, other: &Self) -> bool[src]
impl NodeContentEq for PreprocessorIfDef[src]
fn content_eq(&self, other: &Self) -> bool[src]
impl NodeContentEq for PreprocessorIfNDef[src]
fn content_eq(&self, other: &Self) -> bool[src]
impl NodeContentEq for PreprocessorInclude[src]
fn content_eq(&self, other: &Self) -> bool[src]
impl NodeContentEq for PreprocessorLine[src]
fn content_eq(&self, other: &Self) -> bool[src]
impl NodeContentEq for PreprocessorPragma[src]
fn content_eq(&self, other: &Self) -> bool[src]
impl NodeContentEq for PreprocessorUndef[src]
fn content_eq(&self, other: &Self) -> bool[src]
impl NodeContentEq for PreprocessorVersion[src]
fn content_eq(&self, other: &Self) -> bool[src]
impl NodeContentEq for SelectionStatement[src]
fn content_eq(&self, other: &Self) -> bool[src]
impl NodeContentEq for SingleDeclaration[src]
fn content_eq(&self, other: &Self) -> bool[src]
impl NodeContentEq for SingleDeclarationNoType[src]
fn content_eq(&self, other: &Self) -> bool[src]
impl NodeContentEq for SmolStr[src]
pub fn content_eq(&self, other: &SmolStr) -> bool[src]
impl NodeContentEq for StructFieldSpecifier[src]
fn content_eq(&self, other: &Self) -> bool[src]
impl NodeContentEq for StructSpecifier[src]
fn content_eq(&self, other: &Self) -> bool[src]
impl NodeContentEq for SwitchStatement[src]
fn content_eq(&self, other: &Self) -> bool[src]
impl NodeContentEq for TranslationUnit[src]
fn content_eq(&self, other: &Self) -> bool[src]
impl NodeContentEq for TypeNameData[src]
fn content_eq(&self, other: &Self) -> bool[src]
impl NodeContentEq for TypeQualifier[src]
fn content_eq(&self, other: &Self) -> bool[src]
impl NodeContentEq for TypeSpecifier[src]
fn content_eq(&self, other: &Self) -> bool[src]
impl<T> NodeContentEq for Node<T> where
T: NodeContent + NodeContentEq, [src]
T: NodeContent + NodeContentEq,