Home
last modified time | relevance | path

Searched refs:partial_cmp (Results 1 – 9 of 9) sorted by relevance

/linux/rust/proc-macro2/
H A Dlocation.rs28 fn partial_cmp(&self, other: &Self) -> Option<Ordering> { in partial_cmp() method
H A Dlib.rs1025 fn partial_cmp(&self, other: &Ident) -> Option<Ordering> { in partial_cmp() method
/linux/rust/kernel/num/
H A Dbounded.rs647 fn partial_cmp(&self, other: &Bounded<U, M>) -> Option<cmp::Ordering> {
648 self.get().partial_cmp(&other.get())
679 fn partial_cmp(&self, other: &T) -> Option<cmp::Ordering> { in add()
680 self.get().partial_cmp(other)
631 fn partial_cmp(&self, other: &Bounded<U, M>) -> Option<cmp::Ordering> { partial_cmp() function
663 fn partial_cmp(&self, other: &T) -> Option<cmp::Ordering> { partial_cmp() function
/linux/rust/syn/
H A Dlifetime.rs99 fn partial_cmp(&self, other: &Lifetime) -> Option<Ordering> { in partial_cmp() method
H A Dprecedence.rs207 fn partial_cmp(&self, other: &Self) -> Option<Ordering> { in partial_cmp() method
H A Dbuffer.rs401 fn partial_cmp(&self, other: &Self) -> Option<Ordering> { in partial_cmp() method
/linux/rust/zerocopy/src/
H A Dwrappers.rs425 fn partial_cmp(&self, other: &Unalign<T>) -> Option<Ordering> { in partial_cmp() method
426 PartialOrd::partial_cmp(self.deref(), other.deref()) in partial_cmp()
810 fn partial_cmp(&self, other: &Self) -> Option<Ordering> {
811 self.deref().partial_cmp(other.deref())
1006 assert_eq!(nan.partial_cmp(&nan), None); in test_maybe_uninit()
1146 assert_eq!(PartialOrd::partial_cmp(&zero, &one), Some(Ordering::Less));
H A Dbyteorder.rs243 fn partial_cmp(&self, other: &Self) -> Option<Ordering> {
244 self.get().partial_cmp(&other.get())
276 fn partial_cmp(&self, other: &Self) -> Option<Ordering> {
290 fn partial_cmp(&self, other: &$native) -> Option<Ordering> {
291 self.get().partial_cmp(other)
H A Dref.rs1412 fn partial_cmp(&self, other: &Self) -> Option<Ordering> {
1415 inner.partial_cmp(other_inner)
1823 assert_eq!(PartialOrd::partial_cmp(&r1, &r2), Some(Ordering::Less));
949 fn partial_cmp(&self, other: &Self) -> Option<Ordering> { partial_cmp() function