Home
last modified time | relevance | path

Searched refs:PartialOrd (Results 1 – 15 of 15) sorted by relevance

/linux/rust/kernel/
H A Dtime.rs182 #[derive(PartialEq, PartialOrd, Eq, Ord)]
304 type Repr: Copy + Clone + PartialEq + PartialOrd + Eq + Ord + core::fmt::Debug;
311 #[derive(Copy, Clone, PartialEq, PartialOrd, Eq, Ord, Debug)]
322 #[derive(Copy, Clone, PartialEq, PartialOrd, Eq, Ord, Debug)]
335 #[derive(Copy, Clone, PartialEq, PartialOrd, Eq, Ord, Debug)]
H A Dnum.rs30 + PartialOrd
H A Dptr.rs30 #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
/linux/rust/proc-macro2/
H A Dlocation.rs27 impl PartialOrd for LineColumn {
H A Dlib.rs1024 impl PartialOrd for Ident {
/linux/rust/zerocopy/src/
H A Dwrappers.rs423 impl<T: Unaligned + PartialOrd> PartialOrd<Unalign<T>> for Unalign<T> { impl
426 PartialOrd::partial_cmp(self.deref(), other.deref()) in partial_cmp()
962 assert_eq!(PartialOrd::partial_cmp(&zero, &one), Some(Ordering::Less)); in test_unalign_trait_impls()
H A Dbyteorder.rs88 Copy + Clone + Debug + Display + Eq + PartialEq + Ord + PartialOrd + Hash + private::Sealed
112 #[derive(Copy, Clone, Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
129 #[derive(Copy, Clone, Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
240 impl<O: ByteOrder> PartialOrd for $name<O> { impl
273 impl<O: ByteOrder> PartialOrd for $name<O> { impl
287 impl<O: ByteOrder> PartialOrd<$native> for $name<O> { impl
H A Dref.rs943 impl<T, B> PartialOrd for Ref<B, T>
946 T: FromBytes + PartialOrd + KnownLayout + Immutable + ?Sized,
1293 assert_eq!(PartialOrd::partial_cmp(&r1, &r2), Some(Ordering::Less)); in test_ord()
/linux/rust/kernel/num/
H A Dbounded.rs625 impl<T, U, const N: u32, const M: u32> PartialOrd<Bounded<U, M>> for Bounded<T, N> impl
629 T: PartialOrd<U>,
658 impl<T, const N: u32> PartialOrd<T> for Bounded<T, N>
661 T: PartialOrd,
/linux/rust/syn/
H A Dlifetime.rs98 impl PartialOrd for Lifetime {
H A Dprecedence.rs206 impl PartialOrd for Precedence {
H A Dbuffer.rs400 impl<'a> PartialOrd for Cursor<'a> {
/linux/rust/zerocopy/src/util/
H A Dmod.rs865 PartialOrd,
H A Dmacro_util.rs990 Immutable, FromBytes, Eq, PartialEq, Ord, PartialOrd, Default, Debug, Copy, Clone, in test_trailing_field_offset()
/linux/drivers/gpu/drm/
H A Ddrm_panic_qr.rs32 #[derive(Debug, Clone, Copy, PartialEq, Eq, Ord, PartialOrd)]