Struct clippy_utils::hir_utils::HirEqInterExpr
source · [−]pub struct HirEqInterExpr<'a, 'b, 'tcx> {
inner: &'a mut SpanlessEq<'b, 'tcx>,
locals: HirIdMap<HirId>,
}Fields
inner: &'a mut SpanlessEq<'b, 'tcx>locals: HirIdMap<HirId>Implementations
Checks whether two blocks are the same.
Checks whether two patterns are the same.
pub fn eq_path_segments(
&mut self,
left: &[PathSegment<'_>],
right: &[PathSegment<'_>]
) -> bool
Auto Trait Implementations
impl<'a, 'b, 'tcx> !RefUnwindSafe for HirEqInterExpr<'a, 'b, 'tcx>
impl<'a, 'b, 'tcx> !Send for HirEqInterExpr<'a, 'b, 'tcx>
impl<'a, 'b, 'tcx> !Sync for HirEqInterExpr<'a, 'b, 'tcx>
impl<'a, 'b, 'tcx> Unpin for HirEqInterExpr<'a, 'b, 'tcx> where
'b: 'a,
'tcx: 'a,
impl<'a, 'b, 'tcx> !UnwindSafe for HirEqInterExpr<'a, 'b, 'tcx>
Blanket Implementations
Layout
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 40 bytes