MCPcopy Create free account
hub / github.com/apache/datafusion / PtrEq

Class PtrEq

datafusion/expr/src/ptr_eq.rs:43–43  ·  view source on GitHub ↗

This is so that PtrEq can only be used with allowed pointer types (e.g. Arc), without allowing misuse.

Source from the content-addressed store, hash-verified

41#[derive(Clone)]
42#[expect(private_bounds)] // This is so that PtrEq can only be used with allowed pointer types (e.g. Arc), without allowing misuse.
43pub struct PtrEq<Ptr: PointerType>(Ptr);
44
45impl<T> PartialEq for PtrEq<Arc<T>>
46where

Callers 2

fromMethod · 0.85
test_ptr_eq_wrapperFunction · 0.85

Calls

no outgoing calls

Tested by 1

test_ptr_eq_wrapperFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…