ptr_guaranteed_cmp

ptr_guaranteed_cmp (포인터 동등 보장 비교)

<*const T>::guaranteed_eq 의 세부 구현이에요.

출처: Rust 공식 문서

본문

<*const T>::guaranteed_eq 문서를 참고하세요. 결과를 알 수 없으면 2, 포인터가 보장적으로 같으면 1, 보장적으로 다르면 0 을 반환해요.

pub const fn ptr_guaranteed_cmp<T>(ptr: *const T , other: *const T ) -> u8

더 알아보기 (Learn more)

Rust 공식 문서