Trait wasmer_types::lib::std::cmp::PartialOrd
1.0.0 · source · [−]pub trait PartialOrd<Rhs = Self>: PartialEq<Rhs> where
Rhs: ?Sized, {
fn partial_cmp(&self, other: &Rhs) -> Option<Ordering>;
fn lt(&self, other: &Rhs) -> bool { ... }
fn le(&self, other: &Rhs) -> bool { ... }
fn gt(&self, other: &Rhs) -> bool { ... }
fn ge(&self, other: &Rhs) -> bool { ... }
}
Expand description
Trait for types that form a partial order.
The lt
, le
, gt
, and ge
methods of this trait can be called using
the <
, <=
, >
, and >=
operators, respectively.
The methods of this trait must be consistent with each other and with those of PartialEq
in
the following sense:
a == b
if and only ifpartial_cmp(a, b) == Some(Equal)
.a < b
if and only ifpartial_cmp(a, b) == Some(Less)
(ensured by the default implementation).a > b
if and only ifpartial_cmp(a, b) == Some(Greater)
(ensured by the default implementation).a <= b
if and only ifa < b || a == b
(ensured by the default implementation).a >= b
if and only ifa > b || a == b
(ensured by the default implementation).a != b
if and only if!(a == b)
(already part ofPartialEq
).
If Ord
is also implemented for Self
and Rhs
, it must also be consistent with
partial_cmp
(see the documentation of that trait for the exact requirements). It’s
easy to accidentally make them disagree by deriving some of the traits and manually
implementing others.
The comparison must satisfy, for all a
, b
and c
:
- transitivity:
a < b
andb < c
impliesa < c
. The same must hold for both==
and>
. - duality:
a < b
if and only ifb > a
.
Note that these requirements mean that the trait itself must be implemented symmetrically and
transitively: if T: PartialOrd<U>
and U: PartialOrd<V>
then U: PartialOrd<T>
and T: PartialOrd<V>
.
Corollaries
The following corollaries follow from the above requirements:
- irreflexivity of
<
and>
:!(a < a)
,!(a > a)
- transitivity of
>
: ifa > b
andb > c
thena > c
- duality of
partial_cmp
:partial_cmp(a, b) == partial_cmp(b, a).map(Ordering::reverse)
Derivable
This trait can be used with #[derive]
.
When derive
d on structs, it will produce a
lexicographic ordering
based on the top-to-bottom declaration order of the struct’s members.
When derive
d on enums, variants are ordered by their discriminants.
By default, the discriminant is smallest for variants at the top, and
largest for variants at the bottom. Here’s an example:
#[derive(PartialEq, PartialOrd)]
enum E {
Top,
Bottom,
}
assert!(E::Top < E::Bottom);
However, manually setting the discriminants can override this default behavior:
#[derive(PartialEq, PartialOrd)]
enum E {
Top = 2,
Bottom = 1,
}
assert!(E::Bottom < E::Top);
How can I implement PartialOrd
?
PartialOrd
only requires implementation of the partial_cmp
method, with the others
generated from default implementations.
However it remains possible to implement the others separately for types which do not have a
total order. For example, for floating point numbers, NaN < 0 == false
and NaN >= 0 == false
(cf. IEEE 754-2008 section 5.11).
PartialOrd
requires your type to be PartialEq
.
If your type is Ord
, you can implement partial_cmp
by using cmp
:
use std::cmp::Ordering;
#[derive(Eq)]
struct Person {
id: u32,
name: String,
height: u32,
}
impl PartialOrd for Person {
fn partial_cmp(&self, other: &Self) -> Option<Ordering> {
Some(self.cmp(other))
}
}
impl Ord for Person {
fn cmp(&self, other: &Self) -> Ordering {
self.height.cmp(&other.height)
}
}
impl PartialEq for Person {
fn eq(&self, other: &Self) -> bool {
self.height == other.height
}
}
You may also find it useful to use partial_cmp
on your type’s fields. Here
is an example of Person
types who have a floating-point height
field that
is the only field to be used for sorting:
use std::cmp::Ordering;
struct Person {
id: u32,
name: String,
height: f64,
}
impl PartialOrd for Person {
fn partial_cmp(&self, other: &Self) -> Option<Ordering> {
self.height.partial_cmp(&other.height)
}
}
impl PartialEq for Person {
fn eq(&self, other: &Self) -> bool {
self.height == other.height
}
}
Examples
let x: u32 = 0;
let y: u32 = 1;
assert_eq!(x < y, true);
assert_eq!(x.lt(&y), true);
Required methods
fn partial_cmp(&self, other: &Rhs) -> Option<Ordering>
fn partial_cmp(&self, other: &Rhs) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists.
Examples
use std::cmp::Ordering;
let result = 1.0.partial_cmp(&2.0);
assert_eq!(result, Some(Ordering::Less));
let result = 1.0.partial_cmp(&1.0);
assert_eq!(result, Some(Ordering::Equal));
let result = 2.0.partial_cmp(&1.0);
assert_eq!(result, Some(Ordering::Greater));
When comparison is impossible:
let result = f64::NAN.partial_cmp(&1.0);
assert_eq!(result, None);
Provided methods
This method tests less than (for self
and other
) and is used by the <
operator.
Examples
let result = 1.0 < 2.0;
assert_eq!(result, true);
let result = 2.0 < 1.0;
assert_eq!(result, false);
This method tests less than or equal to (for self
and other
) and is used by the <=
operator.
Examples
let result = 1.0 <= 2.0;
assert_eq!(result, true);
let result = 2.0 <= 2.0;
assert_eq!(result, true);
This method tests greater than (for self
and other
) and is used by the >
operator.
Examples
let result = 1.0 > 2.0;
assert_eq!(result, false);
let result = 2.0 > 2.0;
assert_eq!(result, false);
Implementations on Foreign Types
1.8.0 · sourceimpl<'a, 'b> PartialOrd<Cow<'a, OsStr>> for Path
impl<'a, 'b> PartialOrd<Cow<'a, OsStr>> for Path
1.8.0 · sourceimpl<'a, 'b> PartialOrd<Cow<'a, OsStr>> for &'b OsStr
impl<'a, 'b> PartialOrd<Cow<'a, OsStr>> for &'b OsStr
1.8.0 · sourceimpl PartialOrd<Instant> for Instant
impl PartialOrd<Instant> for Instant
pub fn partial_cmp(&self, other: &Instant) -> Option<Ordering>
1.16.0 · sourceimpl PartialOrd<Ipv6Addr> for IpAddr
impl PartialOrd<Ipv6Addr> for IpAddr
pub fn partial_cmp(&self, other: &Ipv6Addr) -> Option<Ordering>
1.8.0 · sourceimpl PartialOrd<SystemTime> for SystemTime
impl PartialOrd<SystemTime> for SystemTime
pub fn partial_cmp(&self, other: &SystemTime) -> Option<Ordering>
1.8.0 · sourceimpl<'a, 'b> PartialOrd<PathBuf> for OsStr
impl<'a, 'b> PartialOrd<PathBuf> for OsStr
pub fn partial_cmp(&self, other: &PathBuf) -> Option<Ordering>
1.8.0 · sourceimpl<'a, 'b> PartialOrd<PathBuf> for Path
impl<'a, 'b> PartialOrd<PathBuf> for Path
pub fn partial_cmp(&self, other: &PathBuf) -> Option<Ordering>
sourceimpl PartialOrd<ErrorKind> for ErrorKind
impl PartialOrd<ErrorKind> for ErrorKind
pub fn partial_cmp(&self, other: &ErrorKind) -> Option<Ordering>
1.8.0 · sourceimpl<'a, 'b> PartialOrd<OsString> for OsStr
impl<'a, 'b> PartialOrd<OsString> for OsStr
pub fn partial_cmp(&self, other: &OsString) -> Option<Ordering>
sourceimpl PartialOrd<CStr> for CStr
impl PartialOrd<CStr> for CStr
pub fn partial_cmp(&self, other: &CStr) -> Option<Ordering>
1.8.0 · sourceimpl<'a, 'b> PartialOrd<OsStr> for Path
impl<'a, 'b> PartialOrd<OsStr> for Path
pub fn partial_cmp(&self, other: &OsStr) -> Option<Ordering>
1.8.0 · sourceimpl<'a, 'b> PartialOrd<Path> for OsString
impl<'a, 'b> PartialOrd<Path> for OsString
pub fn partial_cmp(&self, other: &Path) -> Option<Ordering>
1.8.0 · sourceimpl<'a, 'b> PartialOrd<Cow<'a, Path>> for PathBuf
impl<'a, 'b> PartialOrd<Cow<'a, Path>> for PathBuf
1.7.0 · sourceimpl PartialOrd<IpAddr> for IpAddr
impl PartialOrd<IpAddr> for IpAddr
pub fn partial_cmp(&self, other: &IpAddr) -> Option<Ordering>
sourceimpl PartialOrd<str> for OsStr
impl PartialOrd<str> for OsStr
pub fn partial_cmp(&self, other: &str) -> Option<Ordering>
1.16.0 · sourceimpl PartialOrd<IpAddr> for Ipv4Addr
impl PartialOrd<IpAddr> for Ipv4Addr
pub fn partial_cmp(&self, other: &IpAddr) -> Option<Ordering>
sourceimpl PartialOrd<Ipv6Addr> for Ipv6Addr
impl PartialOrd<Ipv6Addr> for Ipv6Addr
pub fn partial_cmp(&self, other: &Ipv6Addr) -> Option<Ordering>
1.8.0 · sourceimpl<'a, 'b> PartialOrd<OsString> for Path
impl<'a, 'b> PartialOrd<OsString> for Path
pub fn partial_cmp(&self, other: &OsString) -> Option<Ordering>
1.8.0 · sourceimpl<'a, 'b> PartialOrd<OsStr> for OsString
impl<'a, 'b> PartialOrd<OsStr> for OsString
pub fn partial_cmp(&self, other: &OsStr) -> Option<Ordering>
1.8.0 · sourceimpl<'a, 'b> PartialOrd<Path> for OsStr
impl<'a, 'b> PartialOrd<Path> for OsStr
pub fn partial_cmp(&self, other: &Path) -> Option<Ordering>
1.8.0 · sourceimpl<'a, 'b> PartialOrd<Cow<'a, OsStr>> for OsStr
impl<'a, 'b> PartialOrd<Cow<'a, OsStr>> for OsStr
1.8.0 · sourceimpl<'a, 'b> PartialOrd<PathBuf> for &'a Path
impl<'a, 'b> PartialOrd<PathBuf> for &'a Path
pub fn partial_cmp(&self, other: &PathBuf) -> Option<Ordering>
sourceimpl PartialOrd<str> for OsString
impl PartialOrd<str> for OsString
pub fn partial_cmp(&self, other: &str) -> Option<Ordering>
1.8.0 · sourceimpl<'a, 'b> PartialOrd<&'a OsStr> for Path
impl<'a, 'b> PartialOrd<&'a OsStr> for Path
pub fn partial_cmp(&self, other: &&'a OsStr) -> Option<Ordering>
1.8.0 · sourceimpl<'a, 'b> PartialOrd<Path> for PathBuf
impl<'a, 'b> PartialOrd<Path> for PathBuf
pub fn partial_cmp(&self, other: &Path) -> Option<Ordering>
1.8.0 · sourceimpl<'a, 'b> PartialOrd<Cow<'b, OsStr>> for &'a Path
impl<'a, 'b> PartialOrd<Cow<'b, OsStr>> for &'a Path
1.8.0 · sourceimpl<'a, 'b> PartialOrd<&'a Path> for OsString
impl<'a, 'b> PartialOrd<&'a Path> for OsString
pub fn partial_cmp(&self, other: &&'a Path) -> Option<Ordering>
1.8.0 · sourceimpl<'a, 'b> PartialOrd<OsString> for &'a OsStr
impl<'a, 'b> PartialOrd<OsString> for &'a OsStr
pub fn partial_cmp(&self, other: &OsString) -> Option<Ordering>
1.8.0 · sourceimpl<'a, 'b> PartialOrd<Cow<'a, Path>> for Path
impl<'a, 'b> PartialOrd<Cow<'a, Path>> for Path
1.8.0 · sourceimpl<'a, 'b> PartialOrd<Cow<'a, Path>> for &'b Path
impl<'a, 'b> PartialOrd<Cow<'a, Path>> for &'b Path
sourceimpl PartialOrd<PathBuf> for PathBuf
impl PartialOrd<PathBuf> for PathBuf
pub fn partial_cmp(&self, other: &PathBuf) -> Option<Ordering>
sourceimpl PartialOrd<OsString> for OsString
impl PartialOrd<OsString> for OsString
1.8.0 · sourceimpl<'a, 'b> PartialOrd<Cow<'a, Path>> for &'b OsStr
impl<'a, 'b> PartialOrd<Cow<'a, Path>> for &'b OsStr
1.8.0 · sourceimpl<'a, 'b> PartialOrd<Path> for &'a OsStr
impl<'a, 'b> PartialOrd<Path> for &'a OsStr
pub fn partial_cmp(&self, other: &Path) -> Option<Ordering>
1.8.0 · sourceimpl<'a, 'b> PartialOrd<OsString> for PathBuf
impl<'a, 'b> PartialOrd<OsString> for PathBuf
pub fn partial_cmp(&self, other: &OsString) -> Option<Ordering>
1.8.0 · sourceimpl<'a, 'b> PartialOrd<PathBuf> for &'a OsStr
impl<'a, 'b> PartialOrd<PathBuf> for &'a OsStr
pub fn partial_cmp(&self, other: &PathBuf) -> Option<Ordering>
1.8.0 · sourceimpl<'a, 'b> PartialOrd<Cow<'a, Path>> for OsStr
impl<'a, 'b> PartialOrd<Cow<'a, Path>> for OsStr
1.8.0 · sourceimpl<'a, 'b> PartialOrd<PathBuf> for OsString
impl<'a, 'b> PartialOrd<PathBuf> for OsString
pub fn partial_cmp(&self, other: &PathBuf) -> Option<Ordering>
1.8.0 · sourceimpl<'a, 'b> PartialOrd<&'a Path> for PathBuf
impl<'a, 'b> PartialOrd<&'a Path> for PathBuf
pub fn partial_cmp(&self, other: &&'a Path) -> Option<Ordering>
1.8.0 · sourceimpl<'a, 'b> PartialOrd<&'a Path> for OsStr
impl<'a, 'b> PartialOrd<&'a Path> for OsStr
pub fn partial_cmp(&self, other: &&'a Path) -> Option<Ordering>
sourceimpl PartialOrd<SocketAddr> for SocketAddr
impl PartialOrd<SocketAddr> for SocketAddr
pub fn partial_cmp(&self, other: &SocketAddr) -> Option<Ordering>
sourceimpl<'a> PartialOrd<PrefixComponent<'a>> for PrefixComponent<'a>
impl<'a> PartialOrd<PrefixComponent<'a>> for PrefixComponent<'a>
pub fn partial_cmp(&self, other: &PrefixComponent<'a>) -> Option<Ordering>
sourceimpl PartialOrd<CString> for CString
impl PartialOrd<CString> for CString
pub fn partial_cmp(&self, other: &CString) -> Option<Ordering>
sourceimpl<'a> PartialOrd<Component<'a>> for Component<'a>
impl<'a> PartialOrd<Component<'a>> for Component<'a>
pub fn partial_cmp(&self, other: &Component<'a>) -> Option<Ordering>
1.8.0 · sourceimpl<'a, 'b> PartialOrd<OsString> for &'a Path
impl<'a, 'b> PartialOrd<OsString> for &'a Path
pub fn partial_cmp(&self, other: &OsString) -> Option<Ordering>
1.16.0 · sourceimpl PartialOrd<IpAddr> for Ipv6Addr
impl PartialOrd<IpAddr> for Ipv6Addr
pub fn partial_cmp(&self, other: &IpAddr) -> Option<Ordering>
1.8.0 · sourceimpl<'a, 'b> PartialOrd<&'a OsStr> for PathBuf
impl<'a, 'b> PartialOrd<&'a OsStr> for PathBuf
pub fn partial_cmp(&self, other: &&'a OsStr) -> Option<Ordering>
1.8.0 · sourceimpl<'a, 'b> PartialOrd<OsStr> for PathBuf
impl<'a, 'b> PartialOrd<OsStr> for PathBuf
pub fn partial_cmp(&self, other: &OsStr) -> Option<Ordering>
1.8.0 · sourceimpl<'a, 'b> PartialOrd<Cow<'a, Path>> for OsString
impl<'a, 'b> PartialOrd<Cow<'a, Path>> for OsString
1.8.0 · sourceimpl<'a, 'b> PartialOrd<OsStr> for &'a Path
impl<'a, 'b> PartialOrd<OsStr> for &'a Path
pub fn partial_cmp(&self, other: &OsStr) -> Option<Ordering>
1.45.0 · sourceimpl PartialOrd<SocketAddrV4> for SocketAddrV4
impl PartialOrd<SocketAddrV4> for SocketAddrV4
pub fn partial_cmp(&self, other: &SocketAddrV4) -> Option<Ordering>
sourceimpl<'a> PartialOrd<Components<'a>> for Components<'a>
impl<'a> PartialOrd<Components<'a>> for Components<'a>
pub fn partial_cmp(&self, other: &Components<'a>) -> Option<Ordering>
1.8.0 · sourceimpl<'a, 'b> PartialOrd<Cow<'a, OsStr>> for PathBuf
impl<'a, 'b> PartialOrd<Cow<'a, OsStr>> for PathBuf
sourceimpl PartialOrd<OsStr> for OsStr
impl PartialOrd<OsStr> for OsStr
1.45.0 · sourceimpl PartialOrd<SocketAddrV6> for SocketAddrV6
impl PartialOrd<SocketAddrV6> for SocketAddrV6
pub fn partial_cmp(&self, other: &SocketAddrV6) -> Option<Ordering>
1.8.0 · sourceimpl<'a, 'b> PartialOrd<Cow<'a, OsStr>> for OsString
impl<'a, 'b> PartialOrd<Cow<'a, OsStr>> for OsString
sourceimpl PartialOrd<Path> for Path
impl PartialOrd<Path> for Path
pub fn partial_cmp(&self, other: &Path) -> Option<Ordering>
sourceimpl PartialOrd<Ipv4Addr> for Ipv4Addr
impl PartialOrd<Ipv4Addr> for Ipv4Addr
pub fn partial_cmp(&self, other: &Ipv4Addr) -> Option<Ordering>
1.8.0 · sourceimpl<'a, 'b> PartialOrd<&'a OsStr> for OsString
impl<'a, 'b> PartialOrd<&'a OsStr> for OsString
pub fn partial_cmp(&self, other: &&'a OsStr) -> Option<Ordering>
sourceimpl<'a> PartialOrd<Prefix<'a>> for Prefix<'a>
impl<'a> PartialOrd<Prefix<'a>> for Prefix<'a>
pub fn partial_cmp(&self, other: &Prefix<'a>) -> Option<Ordering>
1.16.0 · sourceimpl PartialOrd<Ipv4Addr> for IpAddr
impl PartialOrd<Ipv4Addr> for IpAddr
pub fn partial_cmp(&self, other: &Ipv4Addr) -> Option<Ordering>
1.28.0 · sourceimpl PartialOrd<NonZeroUsize> for NonZeroUsize
impl PartialOrd<NonZeroUsize> for NonZeroUsize
pub fn partial_cmp(&self, other: &NonZeroUsize) -> Option<Ordering>
1.4.0 · sourceimpl<Ret, A, B, C, D, E, F> PartialOrd<fn(A, B, C, D, E, F) -> Ret> for fn(A, B, C, D, E, F) -> Ret
impl<Ret, A, B, C, D, E, F> PartialOrd<fn(A, B, C, D, E, F) -> Ret> for fn(A, B, C, D, E, F) -> Ret
pub fn partial_cmp(
&self,
other: &fn(A, B, C, D, E, F) -> Ret
) -> Option<Ordering>
1.4.0 · sourceimpl<Ret, A, B, C, D> PartialOrd<fn(A, B, C, D) -> Ret> for fn(A, B, C, D) -> Ret
impl<Ret, A, B, C, D> PartialOrd<fn(A, B, C, D) -> Ret> for fn(A, B, C, D) -> Ret
pub fn partial_cmp(&self, other: &fn(A, B, C, D) -> Ret) -> Option<Ordering>
sourceimpl<'_, '_, A, B> PartialOrd<&'_ mut B> for &'_ mut A where
A: PartialOrd<B> + ?Sized,
B: ?Sized,
impl<'_, '_, A, B> PartialOrd<&'_ mut B> for &'_ mut A where
A: PartialOrd<B> + ?Sized,
B: ?Sized,
1.4.0 · sourceimpl<Ret, A, B, C, D, E, F, G, H, I, J> PartialOrd<fn(A, B, C, D, E, F, G, H, I, J) -> Ret> for fn(A, B, C, D, E, F, G, H, I, J) -> Ret
impl<Ret, A, B, C, D, E, F, G, H, I, J> PartialOrd<fn(A, B, C, D, E, F, G, H, I, J) -> Ret> for fn(A, B, C, D, E, F, G, H, I, J) -> Ret
pub fn partial_cmp(
&self,
other: &fn(A, B, C, D, E, F, G, H, I, J) -> Ret
) -> Option<Ordering>
sourceimpl<A, B, C, D, E, F, G> PartialOrd<(A, B, C, D, E, F, G)> for (A, B, C, D, E, F, G) where
A: PartialOrd<A> + PartialEq<A>,
B: PartialOrd<B> + PartialEq<B>,
C: PartialOrd<C> + PartialEq<C>,
D: PartialOrd<D> + PartialEq<D>,
E: PartialOrd<E> + PartialEq<E>,
F: PartialOrd<F> + PartialEq<F>,
G: PartialOrd<G> + PartialEq<G> + ?Sized,
impl<A, B, C, D, E, F, G> PartialOrd<(A, B, C, D, E, F, G)> for (A, B, C, D, E, F, G) where
A: PartialOrd<A> + PartialEq<A>,
B: PartialOrd<B> + PartialEq<B>,
C: PartialOrd<C> + PartialEq<C>,
D: PartialOrd<D> + PartialEq<D>,
E: PartialOrd<E> + PartialEq<E>,
F: PartialOrd<F> + PartialEq<F>,
G: PartialOrd<G> + PartialEq<G> + ?Sized,
pub fn partial_cmp(&self, other: &(A, B, C, D, E, F, G)) -> Option<Ordering>
pub fn lt(&self, other: &(A, B, C, D, E, F, G)) -> bool
pub fn le(&self, other: &(A, B, C, D, E, F, G)) -> bool
pub fn ge(&self, other: &(A, B, C, D, E, F, G)) -> bool
pub fn gt(&self, other: &(A, B, C, D, E, F, G)) -> bool
sourceimpl PartialOrd<f64> for f64
impl PartialOrd<f64> for f64
1.4.0 · sourceimpl<Ret, A, B, C> PartialOrd<fn(A, B, C) -> Ret> for fn(A, B, C) -> Ret
impl<Ret, A, B, C> PartialOrd<fn(A, B, C) -> Ret> for fn(A, B, C) -> Ret
pub fn partial_cmp(&self, other: &fn(A, B, C) -> Ret) -> Option<Ordering>
1.3.0 · sourceimpl PartialOrd<Duration> for Duration
impl PartialOrd<Duration> for Duration
pub fn partial_cmp(&self, other: &Duration) -> Option<Ordering>
1.4.0 · sourceimpl<Ret, A, B, C, D, E, F> PartialOrd<extern "C" fn(A, B, C, D, E, F, ...) -> Ret> for extern "C" fn(A, B, C, D, E, F, ...) -> Ret
impl<Ret, A, B, C, D, E, F> PartialOrd<extern "C" fn(A, B, C, D, E, F, ...) -> Ret> for extern "C" fn(A, B, C, D, E, F, ...) -> Ret
pub fn partial_cmp(
&self,
other: &extern "C" fn(A, B, C, D, E, F, ...) -> Ret
) -> Option<Ordering>
1.4.0 · sourceimpl<Ret, A, B, C, D> PartialOrd<extern "C" fn(A, B, C, D) -> Ret> for extern "C" fn(A, B, C, D) -> Ret
impl<Ret, A, B, C, D> PartialOrd<extern "C" fn(A, B, C, D) -> Ret> for extern "C" fn(A, B, C, D) -> Ret
pub fn partial_cmp(
&self,
other: &extern "C" fn(A, B, C, D) -> Ret
) -> Option<Ordering>
sourceimpl PartialOrd<u32> for u32
impl PartialOrd<u32> for u32
1.4.0 · sourceimpl<Ret, A, B, C, D, E, F, G> PartialOrd<unsafe fn(A, B, C, D, E, F, G) -> Ret> for unsafe fn(A, B, C, D, E, F, G) -> Ret
impl<Ret, A, B, C, D, E, F, G> PartialOrd<unsafe fn(A, B, C, D, E, F, G) -> Ret> for unsafe fn(A, B, C, D, E, F, G) -> Ret
pub fn partial_cmp(
&self,
other: &unsafe fn(A, B, C, D, E, F, G) -> Ret
) -> Option<Ordering>
1.4.0 · sourceimpl<Ret, A, B, C, D, E, F, G, H> PartialOrd<extern "C" fn(A, B, C, D, E, F, G, H) -> Ret> for extern "C" fn(A, B, C, D, E, F, G, H) -> Ret
impl<Ret, A, B, C, D, E, F, G, H> PartialOrd<extern "C" fn(A, B, C, D, E, F, G, H) -> Ret> for extern "C" fn(A, B, C, D, E, F, G, H) -> Ret
pub fn partial_cmp(
&self,
other: &extern "C" fn(A, B, C, D, E, F, G, H) -> Ret
) -> Option<Ordering>
1.4.0 · sourceimpl<Ret, A> PartialOrd<extern "C" fn(A, ...) -> Ret> for extern "C" fn(A, ...) -> Ret
impl<Ret, A> PartialOrd<extern "C" fn(A, ...) -> Ret> for extern "C" fn(A, ...) -> Ret
pub fn partial_cmp(
&self,
other: &extern "C" fn(A, ...) -> Ret
) -> Option<Ordering>
1.4.0 · sourceimpl<Ret, A> PartialOrd<unsafe extern "C" fn(A, ...) -> Ret> for unsafe extern "C" fn(A, ...) -> Ret
impl<Ret, A> PartialOrd<unsafe extern "C" fn(A, ...) -> Ret> for unsafe extern "C" fn(A, ...) -> Ret
pub fn partial_cmp(
&self,
other: &unsafe extern "C" fn(A, ...) -> Ret
) -> Option<Ordering>
1.4.0 · sourceimpl<Ret, A, B, C, D, E> PartialOrd<extern "C" fn(A, B, C, D, E) -> Ret> for extern "C" fn(A, B, C, D, E) -> Ret
impl<Ret, A, B, C, D, E> PartialOrd<extern "C" fn(A, B, C, D, E) -> Ret> for extern "C" fn(A, B, C, D, E) -> Ret
pub fn partial_cmp(
&self,
other: &extern "C" fn(A, B, C, D, E) -> Ret
) -> Option<Ordering>
1.4.0 · sourceimpl<Ret, A, B, C> PartialOrd<unsafe fn(A, B, C) -> Ret> for unsafe fn(A, B, C) -> Ret
impl<Ret, A, B, C> PartialOrd<unsafe fn(A, B, C) -> Ret> for unsafe fn(A, B, C) -> Ret
pub fn partial_cmp(&self, other: &unsafe fn(A, B, C) -> Ret) -> Option<Ordering>
sourceimpl PartialOrd<char> for char
impl PartialOrd<char> for char
sourceimpl PartialOrd<isize> for isize
impl PartialOrd<isize> for isize
1.4.0 · sourceimpl<Ret, A, B, C, D, E, F, G, H> PartialOrd<unsafe fn(A, B, C, D, E, F, G, H) -> Ret> for unsafe fn(A, B, C, D, E, F, G, H) -> Ret
impl<Ret, A, B, C, D, E, F, G, H> PartialOrd<unsafe fn(A, B, C, D, E, F, G, H) -> Ret> for unsafe fn(A, B, C, D, E, F, G, H) -> Ret
pub fn partial_cmp(
&self,
other: &unsafe fn(A, B, C, D, E, F, G, H) -> Ret
) -> Option<Ordering>
1.34.0 · sourceimpl PartialOrd<NonZeroI128> for NonZeroI128
impl PartialOrd<NonZeroI128> for NonZeroI128
pub fn partial_cmp(&self, other: &NonZeroI128) -> Option<Ordering>
1.4.0 · sourceimpl<Ret, A, B, C, D, E, F, G, H, I> PartialOrd<fn(A, B, C, D, E, F, G, H, I) -> Ret> for fn(A, B, C, D, E, F, G, H, I) -> Ret
impl<Ret, A, B, C, D, E, F, G, H, I> PartialOrd<fn(A, B, C, D, E, F, G, H, I) -> Ret> for fn(A, B, C, D, E, F, G, H, I) -> Ret
pub fn partial_cmp(
&self,
other: &fn(A, B, C, D, E, F, G, H, I) -> Ret
) -> Option<Ordering>
1.4.0 · sourceimpl<Ret, A, B, C, D, E, F, G, H> PartialOrd<fn(A, B, C, D, E, F, G, H) -> Ret> for fn(A, B, C, D, E, F, G, H) -> Ret
impl<Ret, A, B, C, D, E, F, G, H> PartialOrd<fn(A, B, C, D, E, F, G, H) -> Ret> for fn(A, B, C, D, E, F, G, H) -> Ret
pub fn partial_cmp(
&self,
other: &fn(A, B, C, D, E, F, G, H) -> Ret
) -> Option<Ordering>
sourceimpl<A, B, C, D, E, F, G, H> PartialOrd<(A, B, C, D, E, F, G, H)> for (A, B, C, D, E, F, G, H) where
A: PartialOrd<A> + PartialEq<A>,
B: PartialOrd<B> + PartialEq<B>,
C: PartialOrd<C> + PartialEq<C>,
D: PartialOrd<D> + PartialEq<D>,
E: PartialOrd<E> + PartialEq<E>,
F: PartialOrd<F> + PartialEq<F>,
G: PartialOrd<G> + PartialEq<G>,
H: PartialOrd<H> + PartialEq<H> + ?Sized,
impl<A, B, C, D, E, F, G, H> PartialOrd<(A, B, C, D, E, F, G, H)> for (A, B, C, D, E, F, G, H) where
A: PartialOrd<A> + PartialEq<A>,
B: PartialOrd<B> + PartialEq<B>,
C: PartialOrd<C> + PartialEq<C>,
D: PartialOrd<D> + PartialEq<D>,
E: PartialOrd<E> + PartialEq<E>,
F: PartialOrd<F> + PartialEq<F>,
G: PartialOrd<G> + PartialEq<G>,
H: PartialOrd<H> + PartialEq<H> + ?Sized,
pub fn partial_cmp(&self, other: &(A, B, C, D, E, F, G, H)) -> Option<Ordering>
pub fn lt(&self, other: &(A, B, C, D, E, F, G, H)) -> bool
pub fn le(&self, other: &(A, B, C, D, E, F, G, H)) -> bool
pub fn ge(&self, other: &(A, B, C, D, E, F, G, H)) -> bool
pub fn gt(&self, other: &(A, B, C, D, E, F, G, H)) -> bool
sourceimpl<A, B, C> PartialOrd<(A, B, C)> for (A, B, C) where
A: PartialOrd<A> + PartialEq<A>,
B: PartialOrd<B> + PartialEq<B>,
C: PartialOrd<C> + PartialEq<C> + ?Sized,
impl<A, B, C> PartialOrd<(A, B, C)> for (A, B, C) where
A: PartialOrd<A> + PartialEq<A>,
B: PartialOrd<B> + PartialEq<B>,
C: PartialOrd<C> + PartialEq<C> + ?Sized,
1.34.0 · sourceimpl PartialOrd<NonZeroI32> for NonZeroI32
impl PartialOrd<NonZeroI32> for NonZeroI32
pub fn partial_cmp(&self, other: &NonZeroI32) -> Option<Ordering>
1.4.0 · sourceimpl<Ret, A, B, C, D, E, F, G, H, I, J, K, L> PartialOrd<fn(A, B, C, D, E, F, G, H, I, J, K, L) -> Ret> for fn(A, B, C, D, E, F, G, H, I, J, K, L) -> Ret
impl<Ret, A, B, C, D, E, F, G, H, I, J, K, L> PartialOrd<fn(A, B, C, D, E, F, G, H, I, J, K, L) -> Ret> for fn(A, B, C, D, E, F, G, H, I, J, K, L) -> Ret
pub fn partial_cmp(
&self,
other: &fn(A, B, C, D, E, F, G, H, I, J, K, L) -> Ret
) -> Option<Ordering>
1.4.0 · sourceimpl<Ret, A, B, C, D, E> PartialOrd<unsafe fn(A, B, C, D, E) -> Ret> for unsafe fn(A, B, C, D, E) -> Ret
impl<Ret, A, B, C, D, E> PartialOrd<unsafe fn(A, B, C, D, E) -> Ret> for unsafe fn(A, B, C, D, E) -> Ret
pub fn partial_cmp(
&self,
other: &unsafe fn(A, B, C, D, E) -> Ret
) -> Option<Ordering>
1.4.0 · sourceimpl<Ret, A> PartialOrd<fn(A) -> Ret> for fn(A) -> Ret
impl<Ret, A> PartialOrd<fn(A) -> Ret> for fn(A) -> Ret
pub fn partial_cmp(&self, other: &fn(A) -> Ret) -> Option<Ordering>
1.4.0 · sourceimpl<Ret, A, B, C, D, E, F, G, H> PartialOrd<extern "C" fn(A, B, C, D, E, F, G, H, ...) -> Ret> for extern "C" fn(A, B, C, D, E, F, G, H, ...) -> Ret
impl<Ret, A, B, C, D, E, F, G, H> PartialOrd<extern "C" fn(A, B, C, D, E, F, G, H, ...) -> Ret> for extern "C" fn(A, B, C, D, E, F, G, H, ...) -> Ret
pub fn partial_cmp(
&self,
other: &extern "C" fn(A, B, C, D, E, F, G, H, ...) -> Ret
) -> Option<Ordering>
1.4.0 · sourceimpl<Ret, A, B, C, D, E, F, G, H, I, J, K> PartialOrd<unsafe extern "C" fn(A, B, C, D, E, F, G, H, I, J, K) -> Ret> for unsafe extern "C" fn(A, B, C, D, E, F, G, H, I, J, K) -> Ret
impl<Ret, A, B, C, D, E, F, G, H, I, J, K> PartialOrd<unsafe extern "C" fn(A, B, C, D, E, F, G, H, I, J, K) -> Ret> for unsafe extern "C" fn(A, B, C, D, E, F, G, H, I, J, K) -> Ret
pub fn partial_cmp(
&self,
other: &unsafe extern "C" fn(A, B, C, D, E, F, G, H, I, J, K) -> Ret
) -> Option<Ordering>
1.34.0 · sourceimpl PartialOrd<NonZeroI64> for NonZeroI64
impl PartialOrd<NonZeroI64> for NonZeroI64
pub fn partial_cmp(&self, other: &NonZeroI64) -> Option<Ordering>
1.4.0 · sourceimpl<Ret, A> PartialOrd<extern "C" fn(A) -> Ret> for extern "C" fn(A) -> Ret
impl<Ret, A> PartialOrd<extern "C" fn(A) -> Ret> for extern "C" fn(A) -> Ret
pub fn partial_cmp(&self, other: &extern "C" fn(A) -> Ret) -> Option<Ordering>
1.28.0 · sourceimpl PartialOrd<NonZeroU128> for NonZeroU128
impl PartialOrd<NonZeroU128> for NonZeroU128
pub fn partial_cmp(&self, other: &NonZeroU128) -> Option<Ordering>
1.4.0 · sourceimpl<Ret, A, B> PartialOrd<extern "C" fn(A, B) -> Ret> for extern "C" fn(A, B) -> Ret
impl<Ret, A, B> PartialOrd<extern "C" fn(A, B) -> Ret> for extern "C" fn(A, B) -> Ret
pub fn partial_cmp(
&self,
other: &extern "C" fn(A, B) -> Ret
) -> Option<Ordering>
sourceimpl<T> PartialOrd<Saturating<T>> for Saturating<T> where
T: PartialOrd<T>,
impl<T> PartialOrd<Saturating<T>> for Saturating<T> where
T: PartialOrd<T>,
pub fn partial_cmp(&self, other: &Saturating<T>) -> Option<Ordering>
sourceimpl<T> PartialOrd<Wrapping<T>> for Wrapping<T> where
T: PartialOrd<T>,
impl<T> PartialOrd<Wrapping<T>> for Wrapping<T> where
T: PartialOrd<T>,
pub fn partial_cmp(&self, other: &Wrapping<T>) -> Option<Ordering>
sourceimpl<T, const N: usize> PartialOrd<[T; N]> for [T; N] where
T: PartialOrd<T>,
impl<T, const N: usize> PartialOrd<[T; N]> for [T; N] where
T: PartialOrd<T>,
sourceimpl<A, B, C, D, E, F, G, H, I, J> PartialOrd<(A, B, C, D, E, F, G, H, I, J)> for (A, B, C, D, E, F, G, H, I, J) where
A: PartialOrd<A> + PartialEq<A>,
B: PartialOrd<B> + PartialEq<B>,
C: PartialOrd<C> + PartialEq<C>,
D: PartialOrd<D> + PartialEq<D>,
E: PartialOrd<E> + PartialEq<E>,
F: PartialOrd<F> + PartialEq<F>,
G: PartialOrd<G> + PartialEq<G>,
H: PartialOrd<H> + PartialEq<H>,
I: PartialOrd<I> + PartialEq<I>,
J: PartialOrd<J> + PartialEq<J> + ?Sized,
impl<A, B, C, D, E, F, G, H, I, J> PartialOrd<(A, B, C, D, E, F, G, H, I, J)> for (A, B, C, D, E, F, G, H, I, J) where
A: PartialOrd<A> + PartialEq<A>,
B: PartialOrd<B> + PartialEq<B>,
C: PartialOrd<C> + PartialEq<C>,
D: PartialOrd<D> + PartialEq<D>,
E: PartialOrd<E> + PartialEq<E>,
F: PartialOrd<F> + PartialEq<F>,
G: PartialOrd<G> + PartialEq<G>,
H: PartialOrd<H> + PartialEq<H>,
I: PartialOrd<I> + PartialEq<I>,
J: PartialOrd<J> + PartialEq<J> + ?Sized,
pub fn partial_cmp(
&self,
other: &(A, B, C, D, E, F, G, H, I, J)
) -> Option<Ordering>
pub fn lt(&self, other: &(A, B, C, D, E, F, G, H, I, J)) -> bool
pub fn le(&self, other: &(A, B, C, D, E, F, G, H, I, J)) -> bool
pub fn ge(&self, other: &(A, B, C, D, E, F, G, H, I, J)) -> bool
pub fn gt(&self, other: &(A, B, C, D, E, F, G, H, I, J)) -> bool
1.41.0 · sourceimpl<P, Q> PartialOrd<Pin<Q>> for Pin<P> where
P: Deref,
Q: Deref,
<P as Deref>::Target: PartialOrd<<Q as Deref>::Target>,
impl<P, Q> PartialOrd<Pin<Q>> for Pin<P> where
P: Deref,
Q: Deref,
<P as Deref>::Target: PartialOrd<<Q as Deref>::Target>,
1.4.0 · sourceimpl<Ret, A, B, C, D, E, F, G, H, I, J> PartialOrd<unsafe extern "C" fn(A, B, C, D, E, F, G, H, I, J, ...) -> Ret> for unsafe extern "C" fn(A, B, C, D, E, F, G, H, I, J, ...) -> Ret
impl<Ret, A, B, C, D, E, F, G, H, I, J> PartialOrd<unsafe extern "C" fn(A, B, C, D, E, F, G, H, I, J, ...) -> Ret> for unsafe extern "C" fn(A, B, C, D, E, F, G, H, I, J, ...) -> Ret
pub fn partial_cmp(
&self,
other: &unsafe extern "C" fn(A, B, C, D, E, F, G, H, I, J, ...) -> Ret
) -> Option<Ordering>
1.4.0 · sourceimpl<Ret, A, B, C, D, E, F, G, H> PartialOrd<unsafe extern "C" fn(A, B, C, D, E, F, G, H) -> Ret> for unsafe extern "C" fn(A, B, C, D, E, F, G, H) -> Ret
impl<Ret, A, B, C, D, E, F, G, H> PartialOrd<unsafe extern "C" fn(A, B, C, D, E, F, G, H) -> Ret> for unsafe extern "C" fn(A, B, C, D, E, F, G, H) -> Ret
pub fn partial_cmp(
&self,
other: &unsafe extern "C" fn(A, B, C, D, E, F, G, H) -> Ret
) -> Option<Ordering>
sourceimpl<T, const LANES: usize> PartialOrd<Mask<T, LANES>> for Mask<T, LANES> where
T: MaskElement + PartialOrd<T>,
LaneCount<LANES>: SupportedLaneCount,
impl<T, const LANES: usize> PartialOrd<Mask<T, LANES>> for Mask<T, LANES> where
T: MaskElement + PartialOrd<T>,
LaneCount<LANES>: SupportedLaneCount,
pub fn partial_cmp(&self, other: &Mask<T, LANES>) -> Option<Ordering>
1.4.0 · sourceimpl<Ret> PartialOrd<extern "C" fn() -> Ret> for extern "C" fn() -> Ret
impl<Ret> PartialOrd<extern "C" fn() -> Ret> for extern "C" fn() -> Ret
pub fn partial_cmp(&self, other: &extern "C" fn() -> Ret) -> Option<Ordering>
1.4.0 · sourceimpl<Ret, A, B, C> PartialOrd<unsafe extern "C" fn(A, B, C, ...) -> Ret> for unsafe extern "C" fn(A, B, C, ...) -> Ret
impl<Ret, A, B, C> PartialOrd<unsafe extern "C" fn(A, B, C, ...) -> Ret> for unsafe extern "C" fn(A, B, C, ...) -> Ret
pub fn partial_cmp(
&self,
other: &unsafe extern "C" fn(A, B, C, ...) -> Ret
) -> Option<Ordering>
1.28.0 · sourceimpl PartialOrd<NonZeroU32> for NonZeroU32
impl PartialOrd<NonZeroU32> for NonZeroU32
pub fn partial_cmp(&self, other: &NonZeroU32) -> Option<Ordering>
1.4.0 · sourceimpl<Ret, A, B, C, D> PartialOrd<unsafe extern "C" fn(A, B, C, D, ...) -> Ret> for unsafe extern "C" fn(A, B, C, D, ...) -> Ret
impl<Ret, A, B, C, D> PartialOrd<unsafe extern "C" fn(A, B, C, D, ...) -> Ret> for unsafe extern "C" fn(A, B, C, D, ...) -> Ret
pub fn partial_cmp(
&self,
other: &unsafe extern "C" fn(A, B, C, D, ...) -> Ret
) -> Option<Ordering>
sourceimpl<A, B, C, D, E> PartialOrd<(A, B, C, D, E)> for (A, B, C, D, E) where
A: PartialOrd<A> + PartialEq<A>,
B: PartialOrd<B> + PartialEq<B>,
C: PartialOrd<C> + PartialEq<C>,
D: PartialOrd<D> + PartialEq<D>,
E: PartialOrd<E> + PartialEq<E> + ?Sized,
impl<A, B, C, D, E> PartialOrd<(A, B, C, D, E)> for (A, B, C, D, E) where
A: PartialOrd<A> + PartialEq<A>,
B: PartialOrd<B> + PartialEq<B>,
C: PartialOrd<C> + PartialEq<C>,
D: PartialOrd<D> + PartialEq<D>,
E: PartialOrd<E> + PartialEq<E> + ?Sized,
1.4.0 · sourceimpl<Ret, A> PartialOrd<unsafe fn(A) -> Ret> for unsafe fn(A) -> Ret
impl<Ret, A> PartialOrd<unsafe fn(A) -> Ret> for unsafe fn(A) -> Ret
pub fn partial_cmp(&self, other: &unsafe fn(A) -> Ret) -> Option<Ordering>
1.4.0 · sourceimpl<Ret, A, B, C, D, E, F> PartialOrd<extern "C" fn(A, B, C, D, E, F) -> Ret> for extern "C" fn(A, B, C, D, E, F) -> Ret
impl<Ret, A, B, C, D, E, F> PartialOrd<extern "C" fn(A, B, C, D, E, F) -> Ret> for extern "C" fn(A, B, C, D, E, F) -> Ret
pub fn partial_cmp(
&self,
other: &extern "C" fn(A, B, C, D, E, F) -> Ret
) -> Option<Ordering>
sourceimpl PartialOrd<()> for ()
impl PartialOrd<()> for ()
pub fn partial_cmp(&self, &()) -> Option<Ordering>
1.4.0 · sourceimpl<Ret, A, B, C, D, E> PartialOrd<unsafe extern "C" fn(A, B, C, D, E, ...) -> Ret> for unsafe extern "C" fn(A, B, C, D, E, ...) -> Ret
impl<Ret, A, B, C, D, E> PartialOrd<unsafe extern "C" fn(A, B, C, D, E, ...) -> Ret> for unsafe extern "C" fn(A, B, C, D, E, ...) -> Ret
pub fn partial_cmp(
&self,
other: &unsafe extern "C" fn(A, B, C, D, E, ...) -> Ret
) -> Option<Ordering>
sourceimpl PartialOrd<usize> for usize
impl PartialOrd<usize> for usize
1.4.0 · sourceimpl<Ret, A, B, C, D> PartialOrd<unsafe extern "C" fn(A, B, C, D) -> Ret> for unsafe extern "C" fn(A, B, C, D) -> Ret
impl<Ret, A, B, C, D> PartialOrd<unsafe extern "C" fn(A, B, C, D) -> Ret> for unsafe extern "C" fn(A, B, C, D) -> Ret
pub fn partial_cmp(
&self,
other: &unsafe extern "C" fn(A, B, C, D) -> Ret
) -> Option<Ordering>
sourceimpl<T> PartialOrd<[T]> for [T] where
T: PartialOrd<T>,
impl<T> PartialOrd<[T]> for [T] where
T: PartialOrd<T>,
Implements comparison of vectors lexicographically.
pub fn partial_cmp(&self, other: &[T]) -> Option<Ordering>
1.4.0 · sourceimpl<Ret, A, B, C, D, E, F, G, H, I, J, K, L> PartialOrd<unsafe extern "C" fn(A, B, C, D, E, F, G, H, I, J, K, L, ...) -> Ret> for unsafe extern "C" fn(A, B, C, D, E, F, G, H, I, J, K, L, ...) -> Ret
impl<Ret, A, B, C, D, E, F, G, H, I, J, K, L> PartialOrd<unsafe extern "C" fn(A, B, C, D, E, F, G, H, I, J, K, L, ...) -> Ret> for unsafe extern "C" fn(A, B, C, D, E, F, G, H, I, J, K, L, ...) -> Ret
pub fn partial_cmp(
&self,
other: &unsafe extern "C" fn(A, B, C, D, E, F, G, H, I, J, K, L, ...) -> Ret
) -> Option<Ordering>
sourceimpl<A, B, C, D, E, F, G, H, I, J, K> PartialOrd<(A, B, C, D, E, F, G, H, I, J, K)> for (A, B, C, D, E, F, G, H, I, J, K) where
A: PartialOrd<A> + PartialEq<A>,
B: PartialOrd<B> + PartialEq<B>,
C: PartialOrd<C> + PartialEq<C>,
D: PartialOrd<D> + PartialEq<D>,
E: PartialOrd<E> + PartialEq<E>,
F: PartialOrd<F> + PartialEq<F>,
G: PartialOrd<G> + PartialEq<G>,
H: PartialOrd<H> + PartialEq<H>,
I: PartialOrd<I> + PartialEq<I>,
J: PartialOrd<J> + PartialEq<J>,
K: PartialOrd<K> + PartialEq<K> + ?Sized,
impl<A, B, C, D, E, F, G, H, I, J, K> PartialOrd<(A, B, C, D, E, F, G, H, I, J, K)> for (A, B, C, D, E, F, G, H, I, J, K) where
A: PartialOrd<A> + PartialEq<A>,
B: PartialOrd<B> + PartialEq<B>,
C: PartialOrd<C> + PartialEq<C>,
D: PartialOrd<D> + PartialEq<D>,
E: PartialOrd<E> + PartialEq<E>,
F: PartialOrd<F> + PartialEq<F>,
G: PartialOrd<G> + PartialEq<G>,
H: PartialOrd<H> + PartialEq<H>,
I: PartialOrd<I> + PartialEq<I>,
J: PartialOrd<J> + PartialEq<J>,
K: PartialOrd<K> + PartialEq<K> + ?Sized,
pub fn partial_cmp(
&self,
other: &(A, B, C, D, E, F, G, H, I, J, K)
) -> Option<Ordering>
pub fn lt(&self, other: &(A, B, C, D, E, F, G, H, I, J, K)) -> bool
pub fn le(&self, other: &(A, B, C, D, E, F, G, H, I, J, K)) -> bool
pub fn ge(&self, other: &(A, B, C, D, E, F, G, H, I, J, K)) -> bool
pub fn gt(&self, other: &(A, B, C, D, E, F, G, H, I, J, K)) -> bool
sourceimpl PartialOrd<Which> for Which
impl PartialOrd<Which> for Which
pub fn partial_cmp(&self, other: &Which) -> Option<Ordering>
1.28.0 · sourceimpl PartialOrd<NonZeroU16> for NonZeroU16
impl PartialOrd<NonZeroU16> for NonZeroU16
pub fn partial_cmp(&self, other: &NonZeroU16) -> Option<Ordering>
sourceimpl<T> PartialOrd<*const T> for *const T where
T: ?Sized,
impl<T> PartialOrd<*const T> for *const T where
T: ?Sized,
1.4.0 · sourceimpl<Ret, A, B, C, D, E, F, G, H, I, J, K> PartialOrd<extern "C" fn(A, B, C, D, E, F, G, H, I, J, K) -> Ret> for extern "C" fn(A, B, C, D, E, F, G, H, I, J, K) -> Ret
impl<Ret, A, B, C, D, E, F, G, H, I, J, K> PartialOrd<extern "C" fn(A, B, C, D, E, F, G, H, I, J, K) -> Ret> for extern "C" fn(A, B, C, D, E, F, G, H, I, J, K) -> Ret
pub fn partial_cmp(
&self,
other: &extern "C" fn(A, B, C, D, E, F, G, H, I, J, K) -> Ret
) -> Option<Ordering>
1.4.0 · sourceimpl<Ret, A, B, C, D, E, F, G> PartialOrd<fn(A, B, C, D, E, F, G) -> Ret> for fn(A, B, C, D, E, F, G) -> Ret
impl<Ret, A, B, C, D, E, F, G> PartialOrd<fn(A, B, C, D, E, F, G) -> Ret> for fn(A, B, C, D, E, F, G) -> Ret
pub fn partial_cmp(
&self,
other: &fn(A, B, C, D, E, F, G) -> Ret
) -> Option<Ordering>
1.34.0 · sourceimpl PartialOrd<NonZeroI16> for NonZeroI16
impl PartialOrd<NonZeroI16> for NonZeroI16
pub fn partial_cmp(&self, other: &NonZeroI16) -> Option<Ordering>
1.4.0 · sourceimpl<Ret, A, B, C, D, E, F, G, H, I> PartialOrd<extern "C" fn(A, B, C, D, E, F, G, H, I) -> Ret> for extern "C" fn(A, B, C, D, E, F, G, H, I) -> Ret
impl<Ret, A, B, C, D, E, F, G, H, I> PartialOrd<extern "C" fn(A, B, C, D, E, F, G, H, I) -> Ret> for extern "C" fn(A, B, C, D, E, F, G, H, I) -> Ret
pub fn partial_cmp(
&self,
other: &extern "C" fn(A, B, C, D, E, F, G, H, I) -> Ret
) -> Option<Ordering>
1.4.0 · sourceimpl<Ret, A, B, C, D, E, F, G, H, I> PartialOrd<extern "C" fn(A, B, C, D, E, F, G, H, I, ...) -> Ret> for extern "C" fn(A, B, C, D, E, F, G, H, I, ...) -> Ret
impl<Ret, A, B, C, D, E, F, G, H, I> PartialOrd<extern "C" fn(A, B, C, D, E, F, G, H, I, ...) -> Ret> for extern "C" fn(A, B, C, D, E, F, G, H, I, ...) -> Ret
pub fn partial_cmp(
&self,
other: &extern "C" fn(A, B, C, D, E, F, G, H, I, ...) -> Ret
) -> Option<Ordering>
1.28.0 · sourceimpl PartialOrd<NonZeroU8> for NonZeroU8
impl PartialOrd<NonZeroU8> for NonZeroU8
pub fn partial_cmp(&self, other: &NonZeroU8) -> Option<Ordering>
1.4.0 · sourceimpl<Ret, A, B, C, D, E, F, G, H, I> PartialOrd<unsafe extern "C" fn(A, B, C, D, E, F, G, H, I, ...) -> Ret> for unsafe extern "C" fn(A, B, C, D, E, F, G, H, I, ...) -> Ret
impl<Ret, A, B, C, D, E, F, G, H, I> PartialOrd<unsafe extern "C" fn(A, B, C, D, E, F, G, H, I, ...) -> Ret> for unsafe extern "C" fn(A, B, C, D, E, F, G, H, I, ...) -> Ret
pub fn partial_cmp(
&self,
other: &unsafe extern "C" fn(A, B, C, D, E, F, G, H, I, ...) -> Ret
) -> Option<Ordering>
1.4.0 · sourceimpl<Ret, A, B, C, D, E, F, G> PartialOrd<extern "C" fn(A, B, C, D, E, F, G) -> Ret> for extern "C" fn(A, B, C, D, E, F, G) -> Ret
impl<Ret, A, B, C, D, E, F, G> PartialOrd<extern "C" fn(A, B, C, D, E, F, G) -> Ret> for extern "C" fn(A, B, C, D, E, F, G) -> Ret
pub fn partial_cmp(
&self,
other: &extern "C" fn(A, B, C, D, E, F, G) -> Ret
) -> Option<Ordering>
sourceimpl PartialOrd<bool> for bool
impl PartialOrd<bool> for bool
pub fn partial_cmp(&self, other: &bool) -> Option<Ordering>
1.4.0 · sourceimpl<Ret, A, B, C> PartialOrd<unsafe extern "C" fn(A, B, C) -> Ret> for unsafe extern "C" fn(A, B, C) -> Ret
impl<Ret, A, B, C> PartialOrd<unsafe extern "C" fn(A, B, C) -> Ret> for unsafe extern "C" fn(A, B, C) -> Ret
pub fn partial_cmp(
&self,
other: &unsafe extern "C" fn(A, B, C) -> Ret
) -> Option<Ordering>
1.4.0 · sourceimpl<Ret, A, B, C> PartialOrd<extern "C" fn(A, B, C, ...) -> Ret> for extern "C" fn(A, B, C, ...) -> Ret
impl<Ret, A, B, C> PartialOrd<extern "C" fn(A, B, C, ...) -> Ret> for extern "C" fn(A, B, C, ...) -> Ret
pub fn partial_cmp(
&self,
other: &extern "C" fn(A, B, C, ...) -> Ret
) -> Option<Ordering>
sourceimpl PartialOrd<i32> for i32
impl PartialOrd<i32> for i32
1.4.0 · sourceimpl<Ret, A, B> PartialOrd<fn(A, B) -> Ret> for fn(A, B) -> Ret
impl<Ret, A, B> PartialOrd<fn(A, B) -> Ret> for fn(A, B) -> Ret
pub fn partial_cmp(&self, other: &fn(A, B) -> Ret) -> Option<Ordering>
sourceimpl<T, const LANES: usize> PartialOrd<Simd<T, LANES>> for Simd<T, LANES> where
T: SimdElement + PartialOrd<T>,
LaneCount<LANES>: SupportedLaneCount,
impl<T, const LANES: usize> PartialOrd<Simd<T, LANES>> for Simd<T, LANES> where
T: SimdElement + PartialOrd<T>,
LaneCount<LANES>: SupportedLaneCount,
pub fn partial_cmp(&self, other: &Simd<T, LANES>) -> Option<Ordering>
1.4.0 · sourceimpl<Ret, A, B, C, D, E, F> PartialOrd<unsafe extern "C" fn(A, B, C, D, E, F, ...) -> Ret> for unsafe extern "C" fn(A, B, C, D, E, F, ...) -> Ret
impl<Ret, A, B, C, D, E, F> PartialOrd<unsafe extern "C" fn(A, B, C, D, E, F, ...) -> Ret> for unsafe extern "C" fn(A, B, C, D, E, F, ...) -> Ret
pub fn partial_cmp(
&self,
other: &unsafe extern "C" fn(A, B, C, D, E, F, ...) -> Ret
) -> Option<Ordering>
1.4.0 · sourceimpl<Ret, A, B, C, D, E, F, G, H, I, J> PartialOrd<unsafe fn(A, B, C, D, E, F, G, H, I, J) -> Ret> for unsafe fn(A, B, C, D, E, F, G, H, I, J) -> Ret
impl<Ret, A, B, C, D, E, F, G, H, I, J> PartialOrd<unsafe fn(A, B, C, D, E, F, G, H, I, J) -> Ret> for unsafe fn(A, B, C, D, E, F, G, H, I, J) -> Ret
pub fn partial_cmp(
&self,
other: &unsafe fn(A, B, C, D, E, F, G, H, I, J) -> Ret
) -> Option<Ordering>
sourceimpl PartialOrd<i128> for i128
impl PartialOrd<i128> for i128
1.4.0 · sourceimpl<Ret, A, B, C, D, E, F, G, H, I, J, K> PartialOrd<unsafe fn(A, B, C, D, E, F, G, H, I, J, K) -> Ret> for unsafe fn(A, B, C, D, E, F, G, H, I, J, K) -> Ret
impl<Ret, A, B, C, D, E, F, G, H, I, J, K> PartialOrd<unsafe fn(A, B, C, D, E, F, G, H, I, J, K) -> Ret> for unsafe fn(A, B, C, D, E, F, G, H, I, J, K) -> Ret
pub fn partial_cmp(
&self,
other: &unsafe fn(A, B, C, D, E, F, G, H, I, J, K) -> Ret
) -> Option<Ordering>
1.4.0 · sourceimpl<Ret, A, B> PartialOrd<unsafe extern "C" fn(A, B) -> Ret> for unsafe extern "C" fn(A, B) -> Ret
impl<Ret, A, B> PartialOrd<unsafe extern "C" fn(A, B) -> Ret> for unsafe extern "C" fn(A, B) -> Ret
pub fn partial_cmp(
&self,
other: &unsafe extern "C" fn(A, B) -> Ret
) -> Option<Ordering>
sourceimpl PartialOrd<i8> for i8
impl PartialOrd<i8> for i8
1.4.0 · sourceimpl<Ret, A, B, C, D, E, F, G, H, I, J> PartialOrd<extern "C" fn(A, B, C, D, E, F, G, H, I, J) -> Ret> for extern "C" fn(A, B, C, D, E, F, G, H, I, J) -> Ret
impl<Ret, A, B, C, D, E, F, G, H, I, J> PartialOrd<extern "C" fn(A, B, C, D, E, F, G, H, I, J) -> Ret> for extern "C" fn(A, B, C, D, E, F, G, H, I, J) -> Ret
pub fn partial_cmp(
&self,
other: &extern "C" fn(A, B, C, D, E, F, G, H, I, J) -> Ret
) -> Option<Ordering>
1.36.0 · sourceimpl<T> PartialOrd<Poll<T>> for Poll<T> where
T: PartialOrd<T>,
impl<T> PartialOrd<Poll<T>> for Poll<T> where
T: PartialOrd<T>,
pub fn partial_cmp(&self, other: &Poll<T>) -> Option<Ordering>
1.4.0 · sourceimpl<Ret, A, B, C, D, E, F, G, H, I, J, K> PartialOrd<fn(A, B, C, D, E, F, G, H, I, J, K) -> Ret> for fn(A, B, C, D, E, F, G, H, I, J, K) -> Ret
impl<Ret, A, B, C, D, E, F, G, H, I, J, K> PartialOrd<fn(A, B, C, D, E, F, G, H, I, J, K) -> Ret> for fn(A, B, C, D, E, F, G, H, I, J, K) -> Ret
pub fn partial_cmp(
&self,
other: &fn(A, B, C, D, E, F, G, H, I, J, K) -> Ret
) -> Option<Ordering>
sourceimpl<A, B, C, D, E, F, G, H, I, J, K, L> PartialOrd<(A, B, C, D, E, F, G, H, I, J, K, L)> for (A, B, C, D, E, F, G, H, I, J, K, L) where
A: PartialOrd<A> + PartialEq<A>,
B: PartialOrd<B> + PartialEq<B>,
C: PartialOrd<C> + PartialEq<C>,
D: PartialOrd<D> + PartialEq<D>,
E: PartialOrd<E> + PartialEq<E>,
F: PartialOrd<F> + PartialEq<F>,
G: PartialOrd<G> + PartialEq<G>,
H: PartialOrd<H> + PartialEq<H>,
I: PartialOrd<I> + PartialEq<I>,
J: PartialOrd<J> + PartialEq<J>,
K: PartialOrd<K> + PartialEq<K>,
L: PartialOrd<L> + PartialEq<L> + ?Sized,
impl<A, B, C, D, E, F, G, H, I, J, K, L> PartialOrd<(A, B, C, D, E, F, G, H, I, J, K, L)> for (A, B, C, D, E, F, G, H, I, J, K, L) where
A: PartialOrd<A> + PartialEq<A>,
B: PartialOrd<B> + PartialEq<B>,
C: PartialOrd<C> + PartialEq<C>,
D: PartialOrd<D> + PartialEq<D>,
E: PartialOrd<E> + PartialEq<E>,
F: PartialOrd<F> + PartialEq<F>,
G: PartialOrd<G> + PartialEq<G>,
H: PartialOrd<H> + PartialEq<H>,
I: PartialOrd<I> + PartialEq<I>,
J: PartialOrd<J> + PartialEq<J>,
K: PartialOrd<K> + PartialEq<K>,
L: PartialOrd<L> + PartialEq<L> + ?Sized,
pub fn partial_cmp(
&self,
other: &(A, B, C, D, E, F, G, H, I, J, K, L)
) -> Option<Ordering>
pub fn lt(&self, other: &(A, B, C, D, E, F, G, H, I, J, K, L)) -> bool
pub fn le(&self, other: &(A, B, C, D, E, F, G, H, I, J, K, L)) -> bool
pub fn ge(&self, other: &(A, B, C, D, E, F, G, H, I, J, K, L)) -> bool
pub fn gt(&self, other: &(A, B, C, D, E, F, G, H, I, J, K, L)) -> bool
1.34.0 · sourceimpl PartialOrd<NonZeroI8> for NonZeroI8
impl PartialOrd<NonZeroI8> for NonZeroI8
pub fn partial_cmp(&self, other: &NonZeroI8) -> Option<Ordering>
1.4.0 · sourceimpl<Ret, A, B, C, D, E, F, G, H, I, J> PartialOrd<unsafe extern "C" fn(A, B, C, D, E, F, G, H, I, J) -> Ret> for unsafe extern "C" fn(A, B, C, D, E, F, G, H, I, J) -> Ret
impl<Ret, A, B, C, D, E, F, G, H, I, J> PartialOrd<unsafe extern "C" fn(A, B, C, D, E, F, G, H, I, J) -> Ret> for unsafe extern "C" fn(A, B, C, D, E, F, G, H, I, J) -> Ret
pub fn partial_cmp(
&self,
other: &unsafe extern "C" fn(A, B, C, D, E, F, G, H, I, J) -> Ret
) -> Option<Ordering>
1.4.0 · sourceimpl<Ret, A, B, C, D, E, F, G> PartialOrd<unsafe extern "C" fn(A, B, C, D, E, F, G, ...) -> Ret> for unsafe extern "C" fn(A, B, C, D, E, F, G, ...) -> Ret
impl<Ret, A, B, C, D, E, F, G> PartialOrd<unsafe extern "C" fn(A, B, C, D, E, F, G, ...) -> Ret> for unsafe extern "C" fn(A, B, C, D, E, F, G, ...) -> Ret
pub fn partial_cmp(
&self,
other: &unsafe extern "C" fn(A, B, C, D, E, F, G, ...) -> Ret
) -> Option<Ordering>
1.27.0 · sourceimpl PartialOrd<CpuidResult> for CpuidResult
impl PartialOrd<CpuidResult> for CpuidResult
pub fn partial_cmp(&self, other: &CpuidResult) -> Option<Ordering>
sourceimpl PartialOrd<!> for !
impl PartialOrd<!> for !
pub fn partial_cmp(&self, &!) -> Option<Ordering>
sourceimpl<A, B, C, D, E, F> PartialOrd<(A, B, C, D, E, F)> for (A, B, C, D, E, F) where
A: PartialOrd<A> + PartialEq<A>,
B: PartialOrd<B> + PartialEq<B>,
C: PartialOrd<C> + PartialEq<C>,
D: PartialOrd<D> + PartialEq<D>,
E: PartialOrd<E> + PartialEq<E>,
F: PartialOrd<F> + PartialEq<F> + ?Sized,
impl<A, B, C, D, E, F> PartialOrd<(A, B, C, D, E, F)> for (A, B, C, D, E, F) where
A: PartialOrd<A> + PartialEq<A>,
B: PartialOrd<B> + PartialEq<B>,
C: PartialOrd<C> + PartialEq<C>,
D: PartialOrd<D> + PartialEq<D>,
E: PartialOrd<E> + PartialEq<E>,
F: PartialOrd<F> + PartialEq<F> + ?Sized,
pub fn partial_cmp(&self, other: &(A, B, C, D, E, F)) -> Option<Ordering>
pub fn lt(&self, other: &(A, B, C, D, E, F)) -> bool
pub fn le(&self, other: &(A, B, C, D, E, F)) -> bool
pub fn ge(&self, other: &(A, B, C, D, E, F)) -> bool
pub fn gt(&self, other: &(A, B, C, D, E, F)) -> bool
1.4.0 · sourceimpl<Ret, A, B, C, D, E> PartialOrd<unsafe extern "C" fn(A, B, C, D, E) -> Ret> for unsafe extern "C" fn(A, B, C, D, E) -> Ret
impl<Ret, A, B, C, D, E> PartialOrd<unsafe extern "C" fn(A, B, C, D, E) -> Ret> for unsafe extern "C" fn(A, B, C, D, E) -> Ret
pub fn partial_cmp(
&self,
other: &unsafe extern "C" fn(A, B, C, D, E) -> Ret
) -> Option<Ordering>
1.4.0 · sourceimpl<Ret, A, B, C, D, E, F, G, H, I, J, K, L> PartialOrd<extern "C" fn(A, B, C, D, E, F, G, H, I, J, K, L) -> Ret> for extern "C" fn(A, B, C, D, E, F, G, H, I, J, K, L) -> Ret
impl<Ret, A, B, C, D, E, F, G, H, I, J, K, L> PartialOrd<extern "C" fn(A, B, C, D, E, F, G, H, I, J, K, L) -> Ret> for extern "C" fn(A, B, C, D, E, F, G, H, I, J, K, L) -> Ret
pub fn partial_cmp(
&self,
other: &extern "C" fn(A, B, C, D, E, F, G, H, I, J, K, L) -> Ret
) -> Option<Ordering>
sourceimpl<T, E> PartialOrd<Result<T, E>> for Result<T, E> where
T: PartialOrd<T>,
E: PartialOrd<E>,
impl<T, E> PartialOrd<Result<T, E>> for Result<T, E> where
T: PartialOrd<T>,
E: PartialOrd<E>,
pub fn partial_cmp(&self, other: &Result<T, E>) -> Option<Ordering>
1.4.0 · sourceimpl<Ret, A, B, C, D, E, F, G, H, I> PartialOrd<unsafe fn(A, B, C, D, E, F, G, H, I) -> Ret> for unsafe fn(A, B, C, D, E, F, G, H, I) -> Ret
impl<Ret, A, B, C, D, E, F, G, H, I> PartialOrd<unsafe fn(A, B, C, D, E, F, G, H, I) -> Ret> for unsafe fn(A, B, C, D, E, F, G, H, I) -> Ret
pub fn partial_cmp(
&self,
other: &unsafe fn(A, B, C, D, E, F, G, H, I) -> Ret
) -> Option<Ordering>
1.4.0 · sourceimpl<Ret, A, B, C, D, E, F, G, H, I, J> PartialOrd<extern "C" fn(A, B, C, D, E, F, G, H, I, J, ...) -> Ret> for extern "C" fn(A, B, C, D, E, F, G, H, I, J, ...) -> Ret
impl<Ret, A, B, C, D, E, F, G, H, I, J> PartialOrd<extern "C" fn(A, B, C, D, E, F, G, H, I, J, ...) -> Ret> for extern "C" fn(A, B, C, D, E, F, G, H, I, J, ...) -> Ret
pub fn partial_cmp(
&self,
other: &extern "C" fn(A, B, C, D, E, F, G, H, I, J, ...) -> Ret
) -> Option<Ordering>
1.4.0 · sourceimpl<Ret, A, B, C, D, E, F> PartialOrd<unsafe fn(A, B, C, D, E, F) -> Ret> for unsafe fn(A, B, C, D, E, F) -> Ret
impl<Ret, A, B, C, D, E, F> PartialOrd<unsafe fn(A, B, C, D, E, F) -> Ret> for unsafe fn(A, B, C, D, E, F) -> Ret
pub fn partial_cmp(
&self,
other: &unsafe fn(A, B, C, D, E, F) -> Ret
) -> Option<Ordering>
1.4.0 · sourceimpl<Ret, A, B, C, D, E, F, G, H, I, J, K> PartialOrd<unsafe extern "C" fn(A, B, C, D, E, F, G, H, I, J, K, ...) -> Ret> for unsafe extern "C" fn(A, B, C, D, E, F, G, H, I, J, K, ...) -> Ret
impl<Ret, A, B, C, D, E, F, G, H, I, J, K> PartialOrd<unsafe extern "C" fn(A, B, C, D, E, F, G, H, I, J, K, ...) -> Ret> for unsafe extern "C" fn(A, B, C, D, E, F, G, H, I, J, K, ...) -> Ret
pub fn partial_cmp(
&self,
other: &unsafe extern "C" fn(A, B, C, D, E, F, G, H, I, J, K, ...) -> Ret
) -> Option<Ordering>
1.4.0 · sourceimpl<Ret, A, B, C, D> PartialOrd<unsafe fn(A, B, C, D) -> Ret> for unsafe fn(A, B, C, D) -> Ret
impl<Ret, A, B, C, D> PartialOrd<unsafe fn(A, B, C, D) -> Ret> for unsafe fn(A, B, C, D) -> Ret
pub fn partial_cmp(
&self,
other: &unsafe fn(A, B, C, D) -> Ret
) -> Option<Ordering>
1.4.0 · sourceimpl<Ret, A, B, C, D, E, F, G, H, I> PartialOrd<unsafe extern "C" fn(A, B, C, D, E, F, G, H, I) -> Ret> for unsafe extern "C" fn(A, B, C, D, E, F, G, H, I) -> Ret
impl<Ret, A, B, C, D, E, F, G, H, I> PartialOrd<unsafe extern "C" fn(A, B, C, D, E, F, G, H, I) -> Ret> for unsafe extern "C" fn(A, B, C, D, E, F, G, H, I) -> Ret
pub fn partial_cmp(
&self,
other: &unsafe extern "C" fn(A, B, C, D, E, F, G, H, I) -> Ret
) -> Option<Ordering>
sourceimpl PartialOrd<u16> for u16
impl PartialOrd<u16> for u16
1.4.0 · sourceimpl<Ret, A, B, C, D, E, F, G, H, I, J, K> PartialOrd<extern "C" fn(A, B, C, D, E, F, G, H, I, J, K, ...) -> Ret> for extern "C" fn(A, B, C, D, E, F, G, H, I, J, K, ...) -> Ret
impl<Ret, A, B, C, D, E, F, G, H, I, J, K> PartialOrd<extern "C" fn(A, B, C, D, E, F, G, H, I, J, K, ...) -> Ret> for extern "C" fn(A, B, C, D, E, F, G, H, I, J, K, ...) -> Ret
pub fn partial_cmp(
&self,
other: &extern "C" fn(A, B, C, D, E, F, G, H, I, J, K, ...) -> Ret
) -> Option<Ordering>
1.4.0 · sourceimpl<Ret> PartialOrd<unsafe extern "C" fn() -> Ret> for unsafe extern "C" fn() -> Ret
impl<Ret> PartialOrd<unsafe extern "C" fn() -> Ret> for unsafe extern "C" fn() -> Ret
pub fn partial_cmp(
&self,
other: &unsafe extern "C" fn() -> Ret
) -> Option<Ordering>
sourceimpl PartialOrd<u128> for u128
impl PartialOrd<u128> for u128
1.4.0 · sourceimpl<Ret, A, B, C, D, E, F, G, H> PartialOrd<unsafe extern "C" fn(A, B, C, D, E, F, G, H, ...) -> Ret> for unsafe extern "C" fn(A, B, C, D, E, F, G, H, ...) -> Ret
impl<Ret, A, B, C, D, E, F, G, H> PartialOrd<unsafe extern "C" fn(A, B, C, D, E, F, G, H, ...) -> Ret> for unsafe extern "C" fn(A, B, C, D, E, F, G, H, ...) -> Ret
pub fn partial_cmp(
&self,
other: &unsafe extern "C" fn(A, B, C, D, E, F, G, H, ...) -> Ret
) -> Option<Ordering>
sourceimpl PartialOrd<u8> for u8
impl PartialOrd<u8> for u8
1.4.0 · sourceimpl<Ret, A, B, C, D, E, F, G> PartialOrd<unsafe extern "C" fn(A, B, C, D, E, F, G) -> Ret> for unsafe extern "C" fn(A, B, C, D, E, F, G) -> Ret
impl<Ret, A, B, C, D, E, F, G> PartialOrd<unsafe extern "C" fn(A, B, C, D, E, F, G) -> Ret> for unsafe extern "C" fn(A, B, C, D, E, F, G) -> Ret
pub fn partial_cmp(
&self,
other: &unsafe extern "C" fn(A, B, C, D, E, F, G) -> Ret
) -> Option<Ordering>
sourceimpl PartialOrd<f32> for f32
impl PartialOrd<f32> for f32
sourceimpl PartialOrd<str> for str
impl PartialOrd<str> for str
Implements comparison operations on strings.
Strings are compared lexicographically by their byte values. This compares Unicode code
points based on their positions in the code charts. This is not necessarily the same as
“alphabetical” order, which varies by language and locale. Comparing strings according to
culturally-accepted standards requires locale-specific data that is outside the scope of
the str
type.
pub fn partial_cmp(&self, other: &str) -> Option<Ordering>
sourceimpl<A, B> PartialOrd<(A, B)> for (A, B) where
A: PartialOrd<A> + PartialEq<A>,
B: PartialOrd<B> + PartialEq<B> + ?Sized,
impl<A, B> PartialOrd<(A, B)> for (A, B) where
A: PartialOrd<A> + PartialEq<A>,
B: PartialOrd<B> + PartialEq<B> + ?Sized,
1.4.0 · sourceimpl<Ret, A, B, C, D, E, F, G, H, I, J, K, L> PartialOrd<unsafe extern "C" fn(A, B, C, D, E, F, G, H, I, J, K, L) -> Ret> for unsafe extern "C" fn(A, B, C, D, E, F, G, H, I, J, K, L) -> Ret
impl<Ret, A, B, C, D, E, F, G, H, I, J, K, L> PartialOrd<unsafe extern "C" fn(A, B, C, D, E, F, G, H, I, J, K, L) -> Ret> for unsafe extern "C" fn(A, B, C, D, E, F, G, H, I, J, K, L) -> Ret
pub fn partial_cmp(
&self,
other: &unsafe extern "C" fn(A, B, C, D, E, F, G, H, I, J, K, L) -> Ret
) -> Option<Ordering>
1.4.0 · sourceimpl<Ret, A, B, C, D, E> PartialOrd<extern "C" fn(A, B, C, D, E, ...) -> Ret> for extern "C" fn(A, B, C, D, E, ...) -> Ret
impl<Ret, A, B, C, D, E> PartialOrd<extern "C" fn(A, B, C, D, E, ...) -> Ret> for extern "C" fn(A, B, C, D, E, ...) -> Ret
pub fn partial_cmp(
&self,
other: &extern "C" fn(A, B, C, D, E, ...) -> Ret
) -> Option<Ordering>
1.4.0 · sourceimpl<Ret, A, B, C, D, E, F, G> PartialOrd<extern "C" fn(A, B, C, D, E, F, G, ...) -> Ret> for extern "C" fn(A, B, C, D, E, F, G, ...) -> Ret
impl<Ret, A, B, C, D, E, F, G> PartialOrd<extern "C" fn(A, B, C, D, E, F, G, ...) -> Ret> for extern "C" fn(A, B, C, D, E, F, G, ...) -> Ret
pub fn partial_cmp(
&self,
other: &extern "C" fn(A, B, C, D, E, F, G, ...) -> Ret
) -> Option<Ordering>
1.4.0 · sourceimpl<Ret, A> PartialOrd<unsafe extern "C" fn(A) -> Ret> for unsafe extern "C" fn(A) -> Ret
impl<Ret, A> PartialOrd<unsafe extern "C" fn(A) -> Ret> for unsafe extern "C" fn(A) -> Ret
pub fn partial_cmp(
&self,
other: &unsafe extern "C" fn(A) -> Ret
) -> Option<Ordering>
sourceimpl PartialOrd<i64> for i64
impl PartialOrd<i64> for i64
1.4.0 · sourceimpl<Ret, A, B> PartialOrd<unsafe fn(A, B) -> Ret> for unsafe fn(A, B) -> Ret
impl<Ret, A, B> PartialOrd<unsafe fn(A, B) -> Ret> for unsafe fn(A, B) -> Ret
pub fn partial_cmp(&self, other: &unsafe fn(A, B) -> Ret) -> Option<Ordering>
1.4.0 · sourceimpl<Ret, A, B, C, D> PartialOrd<extern "C" fn(A, B, C, D, ...) -> Ret> for extern "C" fn(A, B, C, D, ...) -> Ret
impl<Ret, A, B, C, D> PartialOrd<extern "C" fn(A, B, C, D, ...) -> Ret> for extern "C" fn(A, B, C, D, ...) -> Ret
pub fn partial_cmp(
&self,
other: &extern "C" fn(A, B, C, D, ...) -> Ret
) -> Option<Ordering>
sourceimpl PartialOrd<i16> for i16
impl PartialOrd<i16> for i16
1.4.0 · sourceimpl<Ret, A, B> PartialOrd<unsafe extern "C" fn(A, B, ...) -> Ret> for unsafe extern "C" fn(A, B, ...) -> Ret
impl<Ret, A, B> PartialOrd<unsafe extern "C" fn(A, B, ...) -> Ret> for unsafe extern "C" fn(A, B, ...) -> Ret
pub fn partial_cmp(
&self,
other: &unsafe extern "C" fn(A, B, ...) -> Ret
) -> Option<Ordering>
1.4.0 · sourceimpl<Ret> PartialOrd<fn() -> Ret> for fn() -> Ret
impl<Ret> PartialOrd<fn() -> Ret> for fn() -> Ret
pub fn partial_cmp(&self, other: &fn() -> Ret) -> Option<Ordering>
sourceimpl<T> PartialOrd<*mut T> for *mut T where
T: ?Sized,
impl<T> PartialOrd<*mut T> for *mut T where
T: ?Sized,
1.4.0 · sourceimpl<Ret, A, B, C, D, E, F> PartialOrd<unsafe extern "C" fn(A, B, C, D, E, F) -> Ret> for unsafe extern "C" fn(A, B, C, D, E, F) -> Ret
impl<Ret, A, B, C, D, E, F> PartialOrd<unsafe extern "C" fn(A, B, C, D, E, F) -> Ret> for unsafe extern "C" fn(A, B, C, D, E, F) -> Ret
pub fn partial_cmp(
&self,
other: &unsafe extern "C" fn(A, B, C, D, E, F) -> Ret
) -> Option<Ordering>
1.4.0 · sourceimpl<Ret, A, B, C, D, E, F, G, H, I, J, K, L> PartialOrd<unsafe fn(A, B, C, D, E, F, G, H, I, J, K, L) -> Ret> for unsafe fn(A, B, C, D, E, F, G, H, I, J, K, L) -> Ret
impl<Ret, A, B, C, D, E, F, G, H, I, J, K, L> PartialOrd<unsafe fn(A, B, C, D, E, F, G, H, I, J, K, L) -> Ret> for unsafe fn(A, B, C, D, E, F, G, H, I, J, K, L) -> Ret
pub fn partial_cmp(
&self,
other: &unsafe fn(A, B, C, D, E, F, G, H, I, J, K, L) -> Ret
) -> Option<Ordering>
1.4.0 · sourceimpl<Ret> PartialOrd<unsafe fn() -> Ret> for unsafe fn() -> Ret
impl<Ret> PartialOrd<unsafe fn() -> Ret> for unsafe fn() -> Ret
pub fn partial_cmp(&self, other: &unsafe fn() -> Ret) -> Option<Ordering>
1.34.0 · sourceimpl PartialOrd<NonZeroIsize> for NonZeroIsize
impl PartialOrd<NonZeroIsize> for NonZeroIsize
pub fn partial_cmp(&self, other: &NonZeroIsize) -> Option<Ordering>
sourceimpl<A, B, C, D> PartialOrd<(A, B, C, D)> for (A, B, C, D) where
A: PartialOrd<A> + PartialEq<A>,
B: PartialOrd<B> + PartialEq<B>,
C: PartialOrd<C> + PartialEq<C>,
D: PartialOrd<D> + PartialEq<D> + ?Sized,
impl<A, B, C, D> PartialOrd<(A, B, C, D)> for (A, B, C, D) where
A: PartialOrd<A> + PartialEq<A>,
B: PartialOrd<B> + PartialEq<B>,
C: PartialOrd<C> + PartialEq<C>,
D: PartialOrd<D> + PartialEq<D> + ?Sized,
1.10.0 · sourceimpl<'a> PartialOrd<Location<'a>> for Location<'a>
impl<'a> PartialOrd<Location<'a>> for Location<'a>
pub fn partial_cmp(&self, other: &Location<'a>) -> Option<Ordering>
1.4.0 · sourceimpl<Ret, A, B, C> PartialOrd<extern "C" fn(A, B, C) -> Ret> for extern "C" fn(A, B, C) -> Ret
impl<Ret, A, B, C> PartialOrd<extern "C" fn(A, B, C) -> Ret> for extern "C" fn(A, B, C) -> Ret
pub fn partial_cmp(
&self,
other: &extern "C" fn(A, B, C) -> Ret
) -> Option<Ordering>
1.28.0 · sourceimpl PartialOrd<NonZeroU64> for NonZeroU64
impl PartialOrd<NonZeroU64> for NonZeroU64
pub fn partial_cmp(&self, other: &NonZeroU64) -> Option<Ordering>
sourceimpl<A, B, C, D, E, F, G, H, I> PartialOrd<(A, B, C, D, E, F, G, H, I)> for (A, B, C, D, E, F, G, H, I) where
A: PartialOrd<A> + PartialEq<A>,
B: PartialOrd<B> + PartialEq<B>,
C: PartialOrd<C> + PartialEq<C>,
D: PartialOrd<D> + PartialEq<D>,
E: PartialOrd<E> + PartialEq<E>,
F: PartialOrd<F> + PartialEq<F>,
G: PartialOrd<G> + PartialEq<G>,
H: PartialOrd<H> + PartialEq<H>,
I: PartialOrd<I> + PartialEq<I> + ?Sized,
impl<A, B, C, D, E, F, G, H, I> PartialOrd<(A, B, C, D, E, F, G, H, I)> for (A, B, C, D, E, F, G, H, I) where
A: PartialOrd<A> + PartialEq<A>,
B: PartialOrd<B> + PartialEq<B>,
C: PartialOrd<C> + PartialEq<C>,
D: PartialOrd<D> + PartialEq<D>,
E: PartialOrd<E> + PartialEq<E>,
F: PartialOrd<F> + PartialEq<F>,
G: PartialOrd<G> + PartialEq<G>,
H: PartialOrd<H> + PartialEq<H>,
I: PartialOrd<I> + PartialEq<I> + ?Sized,
pub fn partial_cmp(
&self,
other: &(A, B, C, D, E, F, G, H, I)
) -> Option<Ordering>
pub fn lt(&self, other: &(A, B, C, D, E, F, G, H, I)) -> bool
pub fn le(&self, other: &(A, B, C, D, E, F, G, H, I)) -> bool
pub fn ge(&self, other: &(A, B, C, D, E, F, G, H, I)) -> bool
pub fn gt(&self, other: &(A, B, C, D, E, F, G, H, I)) -> bool
sourceimpl<T> PartialOrd<Option<T>> for Option<T> where
T: PartialOrd<T>,
impl<T> PartialOrd<Option<T>> for Option<T> where
T: PartialOrd<T>,
pub fn partial_cmp(&self, other: &Option<T>) -> Option<Ordering>
sourceimpl<'_, '_, A, B> PartialOrd<&'_ B> for &'_ A where
A: PartialOrd<B> + ?Sized,
B: ?Sized,
impl<'_, '_, A, B> PartialOrd<&'_ B> for &'_ A where
A: PartialOrd<B> + ?Sized,
B: ?Sized,
1.4.0 · sourceimpl<Ret, A, B> PartialOrd<extern "C" fn(A, B, ...) -> Ret> for extern "C" fn(A, B, ...) -> Ret
impl<Ret, A, B> PartialOrd<extern "C" fn(A, B, ...) -> Ret> for extern "C" fn(A, B, ...) -> Ret
pub fn partial_cmp(
&self,
other: &extern "C" fn(A, B, ...) -> Ret
) -> Option<Ordering>
1.4.0 · sourceimpl<Ret, A, B, C, D, E, F, G, H, I, J, K, L> PartialOrd<extern "C" fn(A, B, C, D, E, F, G, H, I, J, K, L, ...) -> Ret> for extern "C" fn(A, B, C, D, E, F, G, H, I, J, K, L, ...) -> Ret
impl<Ret, A, B, C, D, E, F, G, H, I, J, K, L> PartialOrd<extern "C" fn(A, B, C, D, E, F, G, H, I, J, K, L, ...) -> Ret> for extern "C" fn(A, B, C, D, E, F, G, H, I, J, K, L, ...) -> Ret
pub fn partial_cmp(
&self,
other: &extern "C" fn(A, B, C, D, E, F, G, H, I, J, K, L, ...) -> Ret
) -> Option<Ordering>
1.4.0 · sourceimpl<Ret, A, B, C, D, E> PartialOrd<fn(A, B, C, D, E) -> Ret> for fn(A, B, C, D, E) -> Ret
impl<Ret, A, B, C, D, E> PartialOrd<fn(A, B, C, D, E) -> Ret> for fn(A, B, C, D, E) -> Ret
pub fn partial_cmp(&self, other: &fn(A, B, C, D, E) -> Ret) -> Option<Ordering>
sourceimpl PartialOrd<u64> for u64
impl PartialOrd<u64> for u64
sourceimpl<A> PartialOrd<(A,)> for (A,) where
A: PartialOrd<A> + PartialEq<A> + ?Sized,
impl<A> PartialOrd<(A,)> for (A,) where
A: PartialOrd<A> + PartialEq<A> + ?Sized,
sourceimpl<K, V> PartialOrd<BTreeMap<K, V>> for BTreeMap<K, V> where
K: PartialOrd<K>,
V: PartialOrd<V>,
impl<K, V> PartialOrd<BTreeMap<K, V>> for BTreeMap<K, V> where
K: PartialOrd<K>,
V: PartialOrd<V>,
pub fn partial_cmp(&self, other: &BTreeMap<K, V>) -> Option<Ordering>
sourceimpl<T> PartialOrd<LinkedList<T>> for LinkedList<T> where
T: PartialOrd<T>,
impl<T> PartialOrd<LinkedList<T>> for LinkedList<T> where
T: PartialOrd<T>,
pub fn partial_cmp(&self, other: &LinkedList<T>) -> Option<Ordering>
sourceimpl<T> PartialOrd<BTreeSet<T>> for BTreeSet<T> where
T: PartialOrd<T>,
impl<T> PartialOrd<BTreeSet<T>> for BTreeSet<T> where
T: PartialOrd<T>,
pub fn partial_cmp(&self, other: &BTreeSet<T>) -> Option<Ordering>
sourceimpl<T, A> PartialOrd<VecDeque<T, A>> for VecDeque<T, A> where
T: PartialOrd<T>,
A: Allocator,
impl<T, A> PartialOrd<VecDeque<T, A>> for VecDeque<T, A> where
T: PartialOrd<T>,
A: Allocator,
pub fn partial_cmp(&self, other: &VecDeque<T, A>) -> Option<Ordering>
sourceimpl PartialOrd<ArchivedIpv6Addr> for ArchivedIpv6Addr
impl PartialOrd<ArchivedIpv6Addr> for ArchivedIpv6Addr
pub fn partial_cmp(&self, other: &ArchivedIpv6Addr) -> Option<Ordering>
sourceimpl PartialOrd<ArchivedSocketAddr> for SocketAddr
impl PartialOrd<ArchivedSocketAddr> for SocketAddr
pub fn partial_cmp(&self, other: &ArchivedSocketAddr) -> Option<Ordering>
sourceimpl PartialOrd<ArchivedOptionNonZeroU32> for ArchivedOptionNonZeroU32
impl PartialOrd<ArchivedOptionNonZeroU32> for ArchivedOptionNonZeroU32
pub fn partial_cmp(&self, other: &ArchivedOptionNonZeroU32) -> Option<Ordering>
sourceimpl PartialOrd<ArchivedOptionNonZeroU64> for ArchivedOptionNonZeroU64
impl PartialOrd<ArchivedOptionNonZeroU64> for ArchivedOptionNonZeroU64
pub fn partial_cmp(&self, other: &ArchivedOptionNonZeroU64) -> Option<Ordering>
sourceimpl PartialOrd<ArchivedSocketAddrV6> for SocketAddrV6
impl PartialOrd<ArchivedSocketAddrV6> for SocketAddrV6
pub fn partial_cmp(&self, other: &ArchivedSocketAddrV6) -> Option<Ordering>
sourceimpl<T> PartialOrd<ArchivedOption<T>> for ArchivedOption<T> where
T: PartialOrd<T>,
impl<T> PartialOrd<ArchivedOption<T>> for ArchivedOption<T> where
T: PartialOrd<T>,
pub fn partial_cmp(&self, other: &ArchivedOption<T>) -> Option<Ordering>
sourceimpl<T> PartialOrd<ArchivedVec<T>> for ArchivedVec<T> where
T: PartialOrd<T>,
impl<T> PartialOrd<ArchivedVec<T>> for ArchivedVec<T> where
T: PartialOrd<T>,
pub fn partial_cmp(&self, other: &ArchivedVec<T>) -> Option<Ordering>
sourceimpl PartialOrd<ArchivedCString> for ArchivedCString
impl PartialOrd<ArchivedCString> for ArchivedCString
pub fn partial_cmp(&self, other: &ArchivedCString) -> Option<Ordering>
sourceimpl<T> PartialOrd<[T]> for ArchivedVec<T> where
T: PartialOrd<T>,
impl<T> PartialOrd<[T]> for ArchivedVec<T> where
T: PartialOrd<T>,
pub fn partial_cmp(&self, other: &[T]) -> Option<Ordering>
sourceimpl<T> PartialOrd<RawArchivedVec<T>> for [T] where
T: PartialOrd<T>,
impl<T> PartialOrd<RawArchivedVec<T>> for [T] where
T: PartialOrd<T>,
pub fn partial_cmp(&self, other: &RawArchivedVec<T>) -> Option<Ordering>
sourceimpl PartialOrd<IpAddr> for ArchivedIpAddr
impl PartialOrd<IpAddr> for ArchivedIpAddr
pub fn partial_cmp(&self, other: &IpAddr) -> Option<Ordering>
sourceimpl<T> PartialOrd<[T]> for RawArchivedVec<T> where
T: PartialOrd<T>,
impl<T> PartialOrd<[T]> for RawArchivedVec<T> where
T: PartialOrd<T>,
pub fn partial_cmp(&self, other: &[T]) -> Option<Ordering>
sourceimpl PartialOrd<ArchivedSocketAddrV4> for ArchivedSocketAddrV4
impl PartialOrd<ArchivedSocketAddrV4> for ArchivedSocketAddrV4
pub fn partial_cmp(&self, other: &ArchivedSocketAddrV4) -> Option<Ordering>
sourceimpl<T, TF, U, UF> PartialOrd<ArchivedRc<U, UF>> for ArchivedRc<T, TF> where
T: ArchivePointee + PartialOrd<U> + ?Sized,
U: ArchivePointee + ?Sized,
impl<T, TF, U, UF> PartialOrd<ArchivedRc<U, UF>> for ArchivedRc<T, TF> where
T: ArchivePointee + PartialOrd<U> + ?Sized,
U: ArchivePointee + ?Sized,
pub fn partial_cmp(&self, other: &ArchivedRc<U, UF>) -> Option<Ordering>
sourceimpl<T, E> PartialOrd<ArchivedResult<T, E>> for ArchivedResult<T, E> where
T: PartialOrd<T>,
E: PartialOrd<E>,
impl<T, E> PartialOrd<ArchivedResult<T, E>> for ArchivedResult<T, E> where
T: PartialOrd<T>,
E: PartialOrd<E>,
pub fn partial_cmp(&self, other: &ArchivedResult<T, E>) -> Option<Ordering>
sourceimpl PartialOrd<ArchivedIpv4Addr> for ArchivedIpv4Addr
impl PartialOrd<ArchivedIpv4Addr> for ArchivedIpv4Addr
pub fn partial_cmp(&self, other: &ArchivedIpv4Addr) -> Option<Ordering>
sourceimpl PartialOrd<Ipv6Addr> for ArchivedIpv6Addr
impl PartialOrd<Ipv6Addr> for ArchivedIpv6Addr
pub fn partial_cmp(&self, other: &Ipv6Addr) -> Option<Ordering>
sourceimpl PartialOrd<ArchivedIpAddr> for IpAddr
impl PartialOrd<ArchivedIpAddr> for IpAddr
pub fn partial_cmp(&self, other: &ArchivedIpAddr) -> Option<Ordering>
sourceimpl PartialOrd<ArchivedOptionNonZeroU128> for ArchivedOptionNonZeroU128
impl PartialOrd<ArchivedOptionNonZeroU128> for ArchivedOptionNonZeroU128
pub fn partial_cmp(&self, other: &ArchivedOptionNonZeroU128) -> Option<Ordering>
sourceimpl PartialOrd<ArchivedOptionNonZeroI128> for ArchivedOptionNonZeroI128
impl PartialOrd<ArchivedOptionNonZeroI128> for ArchivedOptionNonZeroI128
pub fn partial_cmp(&self, other: &ArchivedOptionNonZeroI128) -> Option<Ordering>
sourceimpl PartialOrd<ArchivedIpv6Addr> for Ipv6Addr
impl PartialOrd<ArchivedIpv6Addr> for Ipv6Addr
pub fn partial_cmp(&self, other: &ArchivedIpv6Addr) -> Option<Ordering>
sourceimpl PartialOrd<SocketAddr> for ArchivedSocketAddr
impl PartialOrd<SocketAddr> for ArchivedSocketAddr
pub fn partial_cmp(&self, other: &SocketAddr) -> Option<Ordering>
sourceimpl PartialOrd<ArchivedDuration> for ArchivedDuration
impl PartialOrd<ArchivedDuration> for ArchivedDuration
pub fn partial_cmp(&self, other: &ArchivedDuration) -> Option<Ordering>
sourceimpl<T> PartialOrd<RawArchivedVec<T>> for RawArchivedVec<T> where
T: PartialOrd<T>,
impl<T> PartialOrd<RawArchivedVec<T>> for RawArchivedVec<T> where
T: PartialOrd<T>,
pub fn partial_cmp(&self, other: &RawArchivedVec<T>) -> Option<Ordering>
sourceimpl PartialOrd<ArchivedSocketAddr> for ArchivedSocketAddr
impl PartialOrd<ArchivedSocketAddr> for ArchivedSocketAddr
pub fn partial_cmp(&self, other: &ArchivedSocketAddr) -> Option<Ordering>
sourceimpl<T, U> PartialOrd<Box<U, Global>> for ArchivedBox<T> where
T: ArchivePointee + PartialOrd<U> + ?Sized,
U: ?Sized,
impl<T, U> PartialOrd<Box<U, Global>> for ArchivedBox<T> where
T: ArchivePointee + PartialOrd<U> + ?Sized,
U: ?Sized,
sourceimpl PartialOrd<ArchivedOptionNonZeroI32> for ArchivedOptionNonZeroI32
impl PartialOrd<ArchivedOptionNonZeroI32> for ArchivedOptionNonZeroI32
pub fn partial_cmp(&self, other: &ArchivedOptionNonZeroI32) -> Option<Ordering>
sourceimpl PartialOrd<ArchivedSocketAddrV6> for ArchivedSocketAddrV6
impl PartialOrd<ArchivedSocketAddrV6> for ArchivedSocketAddrV6
pub fn partial_cmp(&self, other: &ArchivedSocketAddrV6) -> Option<Ordering>
sourceimpl<T> PartialOrd<Vec<T, Global>> for ArchivedVec<T> where
T: PartialOrd<T>,
impl<T> PartialOrd<Vec<T, Global>> for ArchivedVec<T> where
T: PartialOrd<T>,
sourceimpl<K, V> PartialOrd<ArchivedBTreeMap<K, V>> for ArchivedBTreeMap<K, V> where
K: PartialOrd<K>,
V: PartialOrd<V>,
impl<K, V> PartialOrd<ArchivedBTreeMap<K, V>> for ArchivedBTreeMap<K, V> where
K: PartialOrd<K>,
V: PartialOrd<V>,
pub fn partial_cmp(&self, other: &ArchivedBTreeMap<K, V>) -> Option<Ordering>
sourceimpl PartialOrd<ArchivedIpAddr> for ArchivedIpAddr
impl PartialOrd<ArchivedIpAddr> for ArchivedIpAddr
pub fn partial_cmp(&self, other: &ArchivedIpAddr) -> Option<Ordering>
sourceimpl PartialOrd<ArchivedString> for ArchivedString
impl PartialOrd<ArchivedString> for ArchivedString
pub fn partial_cmp(&self, other: &ArchivedString) -> Option<Ordering>
sourceimpl PartialOrd<ArchivedIpv4Addr> for Ipv4Addr
impl PartialOrd<ArchivedIpv4Addr> for Ipv4Addr
pub fn partial_cmp(&self, other: &ArchivedIpv4Addr) -> Option<Ordering>
sourceimpl PartialOrd<SocketAddrV4> for ArchivedSocketAddrV4
impl PartialOrd<SocketAddrV4> for ArchivedSocketAddrV4
pub fn partial_cmp(&self, other: &SocketAddrV4) -> Option<Ordering>
sourceimpl PartialOrd<ArchivedSocketAddrV4> for SocketAddrV4
impl PartialOrd<ArchivedSocketAddrV4> for SocketAddrV4
pub fn partial_cmp(&self, other: &ArchivedSocketAddrV4) -> Option<Ordering>
sourceimpl<T> PartialOrd<ArchivedOptionBox<T>> for ArchivedOptionBox<T> where
T: ArchivePointee + PartialOrd<T> + ?Sized,
impl<T> PartialOrd<ArchivedOptionBox<T>> for ArchivedOptionBox<T> where
T: ArchivePointee + PartialOrd<T> + ?Sized,
pub fn partial_cmp(&self, other: &ArchivedOptionBox<T>) -> Option<Ordering>
sourceimpl PartialOrd<ArchivedOptionNonZeroI8> for ArchivedOptionNonZeroI8
impl PartialOrd<ArchivedOptionNonZeroI8> for ArchivedOptionNonZeroI8
pub fn partial_cmp(&self, other: &ArchivedOptionNonZeroI8) -> Option<Ordering>
sourceimpl PartialOrd<ArchivedOptionNonZeroI16> for ArchivedOptionNonZeroI16
impl PartialOrd<ArchivedOptionNonZeroI16> for ArchivedOptionNonZeroI16
pub fn partial_cmp(&self, other: &ArchivedOptionNonZeroI16) -> Option<Ordering>
sourceimpl PartialOrd<Ipv4Addr> for ArchivedIpv4Addr
impl PartialOrd<Ipv4Addr> for ArchivedIpv4Addr
pub fn partial_cmp(&self, other: &Ipv4Addr) -> Option<Ordering>
sourceimpl PartialOrd<SocketAddrV6> for ArchivedSocketAddrV6
impl PartialOrd<SocketAddrV6> for ArchivedSocketAddrV6
pub fn partial_cmp(&self, other: &SocketAddrV6) -> Option<Ordering>
sourceimpl PartialOrd<ArchivedOptionNonZeroI64> for ArchivedOptionNonZeroI64
impl PartialOrd<ArchivedOptionNonZeroI64> for ArchivedOptionNonZeroI64
pub fn partial_cmp(&self, other: &ArchivedOptionNonZeroI64) -> Option<Ordering>
sourceimpl PartialOrd<ArchivedOptionNonZeroU8> for ArchivedOptionNonZeroU8
impl PartialOrd<ArchivedOptionNonZeroU8> for ArchivedOptionNonZeroU8
pub fn partial_cmp(&self, other: &ArchivedOptionNonZeroU8) -> Option<Ordering>
sourceimpl<T> PartialOrd<ArchivedVec<T>> for [T] where
T: PartialOrd<T>,
impl<T> PartialOrd<ArchivedVec<T>> for [T] where
T: PartialOrd<T>,
pub fn partial_cmp(&self, other: &ArchivedVec<T>) -> Option<Ordering>
sourceimpl PartialOrd<ArchivedOptionNonZeroU16> for ArchivedOptionNonZeroU16
impl PartialOrd<ArchivedOptionNonZeroU16> for ArchivedOptionNonZeroU16
pub fn partial_cmp(&self, other: &ArchivedOptionNonZeroU16) -> Option<Ordering>
sourceimpl<K> PartialOrd<ArchivedBTreeSet<K>> for ArchivedBTreeSet<K> where
K: PartialOrd<K>,
impl<K> PartialOrd<ArchivedBTreeSet<K>> for ArchivedBTreeSet<K> where
K: PartialOrd<K>,
pub fn partial_cmp(&self, other: &ArchivedBTreeSet<K>) -> Option<Ordering>
sourceimpl<T> PartialOrd<ArchivedBox<T>> for ArchivedBox<T> where
T: ArchivePointee + PartialOrd<T> + ?Sized,
impl<T> PartialOrd<ArchivedBox<T>> for ArchivedBox<T> where
T: ArchivePointee + PartialOrd<T> + ?Sized,
pub fn partial_cmp(&self, other: &ArchivedBox<T>) -> Option<Ordering>
impl<Dyn> PartialOrd<DynMetadata<Dyn>> for DynMetadata<Dyn> where
Dyn: ?Sized,
impl<Dyn> PartialOrd<DynMetadata<Dyn>> for DynMetadata<Dyn> where
Dyn: ?Sized,
pub fn partial_cmp(&self, other: &DynMetadata<Dyn>) -> Option<Ordering>
impl PartialOrd<NativeEndian<i64>> for NativeEndian<i64>
impl PartialOrd<NativeEndian<i64>> for NativeEndian<i64>
pub fn partial_cmp(&self, other: &NativeEndian<i64>) -> Option<Ordering>
impl PartialOrd<NonZeroI32> for LittleEndian<NonZeroI32>
impl PartialOrd<NonZeroI32> for LittleEndian<NonZeroI32>
pub fn partial_cmp(&self, other: &NonZeroI32) -> Option<Ordering>
impl PartialOrd<i32> for NativeEndian<i32>
impl PartialOrd<i32> for NativeEndian<i32>
pub fn partial_cmp(&self, other: &i32) -> Option<Ordering>
impl PartialOrd<BigEndian<NonZeroI64>> for BigEndian<NonZeroI64>
impl PartialOrd<BigEndian<NonZeroI64>> for BigEndian<NonZeroI64>
pub fn partial_cmp(&self, other: &BigEndian<NonZeroI64>) -> Option<Ordering>
impl PartialOrd<NonZeroI64> for NativeEndian<NonZeroI64>
impl PartialOrd<NonZeroI64> for NativeEndian<NonZeroI64>
pub fn partial_cmp(&self, other: &NonZeroI64) -> Option<Ordering>
impl PartialOrd<NativeEndian<u16>> for NativeEndian<u16>
impl PartialOrd<NativeEndian<u16>> for NativeEndian<u16>
pub fn partial_cmp(&self, other: &NativeEndian<u16>) -> Option<Ordering>
impl PartialOrd<LittleEndian<NonZeroU128>> for LittleEndian<NonZeroU128>
impl PartialOrd<LittleEndian<NonZeroU128>> for LittleEndian<NonZeroU128>
pub fn partial_cmp(&self, other: &LittleEndian<NonZeroU128>) -> Option<Ordering>
impl PartialOrd<char> for BigEndian<char>
impl PartialOrd<char> for BigEndian<char>
pub fn partial_cmp(&self, other: &char) -> Option<Ordering>
impl PartialOrd<LittleEndian<NonZeroI32>> for LittleEndian<NonZeroI32>
impl PartialOrd<LittleEndian<NonZeroI32>> for LittleEndian<NonZeroI32>
pub fn partial_cmp(&self, other: &LittleEndian<NonZeroI32>) -> Option<Ordering>
impl PartialOrd<i64> for LittleEndian<i64>
impl PartialOrd<i64> for LittleEndian<i64>
pub fn partial_cmp(&self, other: &i64) -> Option<Ordering>
impl PartialOrd<u16> for LittleEndian<u16>
impl PartialOrd<u16> for LittleEndian<u16>
pub fn partial_cmp(&self, other: &u16) -> Option<Ordering>
impl PartialOrd<NativeEndian<NonZeroU32>> for NativeEndian<NonZeroU32>
impl PartialOrd<NativeEndian<NonZeroU32>> for NativeEndian<NonZeroU32>
pub fn partial_cmp(&self, other: &NativeEndian<NonZeroU32>) -> Option<Ordering>
impl PartialOrd<NonZeroI128> for NativeEndian<NonZeroI128>
impl PartialOrd<NonZeroI128> for NativeEndian<NonZeroI128>
pub fn partial_cmp(&self, other: &NonZeroI128) -> Option<Ordering>
impl PartialOrd<NonZeroI32> for NativeEndian<NonZeroI32>
impl PartialOrd<NonZeroI32> for NativeEndian<NonZeroI32>
pub fn partial_cmp(&self, other: &NonZeroI32) -> Option<Ordering>
impl PartialOrd<NonZeroI16> for BigEndian<NonZeroI16>
impl PartialOrd<NonZeroI16> for BigEndian<NonZeroI16>
pub fn partial_cmp(&self, other: &NonZeroI16) -> Option<Ordering>
impl PartialOrd<BigEndian<NonZeroU32>> for BigEndian<NonZeroU32>
impl PartialOrd<BigEndian<NonZeroU32>> for BigEndian<NonZeroU32>
pub fn partial_cmp(&self, other: &BigEndian<NonZeroU32>) -> Option<Ordering>
impl PartialOrd<LittleEndian<u64>> for LittleEndian<u64>
impl PartialOrd<LittleEndian<u64>> for LittleEndian<u64>
pub fn partial_cmp(&self, other: &LittleEndian<u64>) -> Option<Ordering>
impl PartialOrd<NativeEndian<NonZeroU128>> for NativeEndian<NonZeroU128>
impl PartialOrd<NativeEndian<NonZeroU128>> for NativeEndian<NonZeroU128>
pub fn partial_cmp(&self, other: &NativeEndian<NonZeroU128>) -> Option<Ordering>
impl PartialOrd<BigEndian<u64>> for BigEndian<u64>
impl PartialOrd<BigEndian<u64>> for BigEndian<u64>
pub fn partial_cmp(&self, other: &BigEndian<u64>) -> Option<Ordering>
impl PartialOrd<BigEndian<u16>> for BigEndian<u16>
impl PartialOrd<BigEndian<u16>> for BigEndian<u16>
pub fn partial_cmp(&self, other: &BigEndian<u16>) -> Option<Ordering>
impl PartialOrd<LittleEndian<i128>> for LittleEndian<i128>
impl PartialOrd<LittleEndian<i128>> for LittleEndian<i128>
pub fn partial_cmp(&self, other: &LittleEndian<i128>) -> Option<Ordering>
impl PartialOrd<u128> for BigEndian<u128>
impl PartialOrd<u128> for BigEndian<u128>
pub fn partial_cmp(&self, other: &u128) -> Option<Ordering>
impl PartialOrd<BigEndian<NonZeroI16>> for BigEndian<NonZeroI16>
impl PartialOrd<BigEndian<NonZeroI16>> for BigEndian<NonZeroI16>
pub fn partial_cmp(&self, other: &BigEndian<NonZeroI16>) -> Option<Ordering>
impl PartialOrd<NonZeroI128> for LittleEndian<NonZeroI128>
impl PartialOrd<NonZeroI128> for LittleEndian<NonZeroI128>
pub fn partial_cmp(&self, other: &NonZeroI128) -> Option<Ordering>
impl PartialOrd<u16> for NativeEndian<u16>
impl PartialOrd<u16> for NativeEndian<u16>
pub fn partial_cmp(&self, other: &u16) -> Option<Ordering>
impl PartialOrd<i128> for LittleEndian<i128>
impl PartialOrd<i128> for LittleEndian<i128>
pub fn partial_cmp(&self, other: &i128) -> Option<Ordering>
impl PartialOrd<BigEndian<i16>> for BigEndian<i16>
impl PartialOrd<BigEndian<i16>> for BigEndian<i16>
pub fn partial_cmp(&self, other: &BigEndian<i16>) -> Option<Ordering>
impl PartialOrd<NonZeroI16> for LittleEndian<NonZeroI16>
impl PartialOrd<NonZeroI16> for LittleEndian<NonZeroI16>
pub fn partial_cmp(&self, other: &NonZeroI16) -> Option<Ordering>
impl PartialOrd<LittleEndian<char>> for LittleEndian<char>
impl PartialOrd<LittleEndian<char>> for LittleEndian<char>
pub fn partial_cmp(&self, other: &LittleEndian<char>) -> Option<Ordering>
impl PartialOrd<LittleEndian<i16>> for LittleEndian<i16>
impl PartialOrd<LittleEndian<i16>> for LittleEndian<i16>
pub fn partial_cmp(&self, other: &LittleEndian<i16>) -> Option<Ordering>
impl PartialOrd<LittleEndian<f64>> for LittleEndian<f64>
impl PartialOrd<LittleEndian<f64>> for LittleEndian<f64>
pub fn partial_cmp(&self, other: &LittleEndian<f64>) -> Option<Ordering>
impl PartialOrd<u32> for NativeEndian<u32>
impl PartialOrd<u32> for NativeEndian<u32>
pub fn partial_cmp(&self, other: &u32) -> Option<Ordering>
impl PartialOrd<NonZeroU128> for LittleEndian<NonZeroU128>
impl PartialOrd<NonZeroU128> for LittleEndian<NonZeroU128>
pub fn partial_cmp(&self, other: &NonZeroU128) -> Option<Ordering>
impl PartialOrd<NativeEndian<char>> for NativeEndian<char>
impl PartialOrd<NativeEndian<char>> for NativeEndian<char>
pub fn partial_cmp(&self, other: &NativeEndian<char>) -> Option<Ordering>
impl PartialOrd<f64> for BigEndian<f64>
impl PartialOrd<f64> for BigEndian<f64>
pub fn partial_cmp(&self, other: &f64) -> Option<Ordering>
impl PartialOrd<NonZeroI128> for BigEndian<NonZeroI128>
impl PartialOrd<NonZeroI128> for BigEndian<NonZeroI128>
pub fn partial_cmp(&self, other: &NonZeroI128) -> Option<Ordering>
impl PartialOrd<LittleEndian<NonZeroU64>> for LittleEndian<NonZeroU64>
impl PartialOrd<LittleEndian<NonZeroU64>> for LittleEndian<NonZeroU64>
pub fn partial_cmp(&self, other: &LittleEndian<NonZeroU64>) -> Option<Ordering>
impl PartialOrd<i128> for BigEndian<i128>
impl PartialOrd<i128> for BigEndian<i128>
pub fn partial_cmp(&self, other: &i128) -> Option<Ordering>
impl PartialOrd<LittleEndian<i32>> for LittleEndian<i32>
impl PartialOrd<LittleEndian<i32>> for LittleEndian<i32>
pub fn partial_cmp(&self, other: &LittleEndian<i32>) -> Option<Ordering>
impl PartialOrd<LittleEndian<u32>> for LittleEndian<u32>
impl PartialOrd<LittleEndian<u32>> for LittleEndian<u32>
pub fn partial_cmp(&self, other: &LittleEndian<u32>) -> Option<Ordering>
impl PartialOrd<BigEndian<i32>> for BigEndian<i32>
impl PartialOrd<BigEndian<i32>> for BigEndian<i32>
pub fn partial_cmp(&self, other: &BigEndian<i32>) -> Option<Ordering>
impl PartialOrd<NonZeroI16> for NativeEndian<NonZeroI16>
impl PartialOrd<NonZeroI16> for NativeEndian<NonZeroI16>
pub fn partial_cmp(&self, other: &NonZeroI16) -> Option<Ordering>
impl PartialOrd<NonZeroU32> for NativeEndian<NonZeroU32>
impl PartialOrd<NonZeroU32> for NativeEndian<NonZeroU32>
pub fn partial_cmp(&self, other: &NonZeroU32) -> Option<Ordering>
impl PartialOrd<NonZeroU64> for BigEndian<NonZeroU64>
impl PartialOrd<NonZeroU64> for BigEndian<NonZeroU64>
pub fn partial_cmp(&self, other: &NonZeroU64) -> Option<Ordering>
impl PartialOrd<NativeEndian<f64>> for NativeEndian<f64>
impl PartialOrd<NativeEndian<f64>> for NativeEndian<f64>
pub fn partial_cmp(&self, other: &NativeEndian<f64>) -> Option<Ordering>
impl PartialOrd<LittleEndian<NonZeroI16>> for LittleEndian<NonZeroI16>
impl PartialOrd<LittleEndian<NonZeroI16>> for LittleEndian<NonZeroI16>
pub fn partial_cmp(&self, other: &LittleEndian<NonZeroI16>) -> Option<Ordering>
impl PartialOrd<u64> for NativeEndian<u64>
impl PartialOrd<u64> for NativeEndian<u64>
pub fn partial_cmp(&self, other: &u64) -> Option<Ordering>
impl PartialOrd<BigEndian<f64>> for BigEndian<f64>
impl PartialOrd<BigEndian<f64>> for BigEndian<f64>
pub fn partial_cmp(&self, other: &BigEndian<f64>) -> Option<Ordering>
impl PartialOrd<NativeEndian<u64>> for NativeEndian<u64>
impl PartialOrd<NativeEndian<u64>> for NativeEndian<u64>
pub fn partial_cmp(&self, other: &NativeEndian<u64>) -> Option<Ordering>
impl PartialOrd<LittleEndian<NonZeroU32>> for LittleEndian<NonZeroU32>
impl PartialOrd<LittleEndian<NonZeroU32>> for LittleEndian<NonZeroU32>
pub fn partial_cmp(&self, other: &LittleEndian<NonZeroU32>) -> Option<Ordering>
impl PartialOrd<NonZeroU16> for LittleEndian<NonZeroU16>
impl PartialOrd<NonZeroU16> for LittleEndian<NonZeroU16>
pub fn partial_cmp(&self, other: &NonZeroU16) -> Option<Ordering>
impl PartialOrd<char> for LittleEndian<char>
impl PartialOrd<char> for LittleEndian<char>
pub fn partial_cmp(&self, other: &char) -> Option<Ordering>
impl PartialOrd<NativeEndian<i16>> for NativeEndian<i16>
impl PartialOrd<NativeEndian<i16>> for NativeEndian<i16>
pub fn partial_cmp(&self, other: &NativeEndian<i16>) -> Option<Ordering>
impl PartialOrd<f32> for NativeEndian<f32>
impl PartialOrd<f32> for NativeEndian<f32>
pub fn partial_cmp(&self, other: &f32) -> Option<Ordering>
impl PartialOrd<u64> for LittleEndian<u64>
impl PartialOrd<u64> for LittleEndian<u64>
pub fn partial_cmp(&self, other: &u64) -> Option<Ordering>
impl PartialOrd<i32> for LittleEndian<i32>
impl PartialOrd<i32> for LittleEndian<i32>
pub fn partial_cmp(&self, other: &i32) -> Option<Ordering>
impl PartialOrd<i16> for LittleEndian<i16>
impl PartialOrd<i16> for LittleEndian<i16>
pub fn partial_cmp(&self, other: &i16) -> Option<Ordering>
impl PartialOrd<u64> for BigEndian<u64>
impl PartialOrd<u64> for BigEndian<u64>
pub fn partial_cmp(&self, other: &u64) -> Option<Ordering>
impl PartialOrd<NonZeroI64> for BigEndian<NonZeroI64>
impl PartialOrd<NonZeroI64> for BigEndian<NonZeroI64>
pub fn partial_cmp(&self, other: &NonZeroI64) -> Option<Ordering>
impl PartialOrd<i64> for BigEndian<i64>
impl PartialOrd<i64> for BigEndian<i64>
pub fn partial_cmp(&self, other: &i64) -> Option<Ordering>
impl PartialOrd<i16> for BigEndian<i16>
impl PartialOrd<i16> for BigEndian<i16>
pub fn partial_cmp(&self, other: &i16) -> Option<Ordering>
impl PartialOrd<LittleEndian<NonZeroU16>> for LittleEndian<NonZeroU16>
impl PartialOrd<LittleEndian<NonZeroU16>> for LittleEndian<NonZeroU16>
pub fn partial_cmp(&self, other: &LittleEndian<NonZeroU16>) -> Option<Ordering>
impl PartialOrd<LittleEndian<u16>> for LittleEndian<u16>
impl PartialOrd<LittleEndian<u16>> for LittleEndian<u16>
pub fn partial_cmp(&self, other: &LittleEndian<u16>) -> Option<Ordering>
impl PartialOrd<NonZeroU32> for LittleEndian<NonZeroU32>
impl PartialOrd<NonZeroU32> for LittleEndian<NonZeroU32>
pub fn partial_cmp(&self, other: &NonZeroU32) -> Option<Ordering>
impl PartialOrd<char> for NativeEndian<char>
impl PartialOrd<char> for NativeEndian<char>
pub fn partial_cmp(&self, other: &char) -> Option<Ordering>
impl PartialOrd<BigEndian<u128>> for BigEndian<u128>
impl PartialOrd<BigEndian<u128>> for BigEndian<u128>
pub fn partial_cmp(&self, other: &BigEndian<u128>) -> Option<Ordering>
impl PartialOrd<NativeEndian<i128>> for NativeEndian<i128>
impl PartialOrd<NativeEndian<i128>> for NativeEndian<i128>
pub fn partial_cmp(&self, other: &NativeEndian<i128>) -> Option<Ordering>
impl PartialOrd<NonZeroI64> for LittleEndian<NonZeroI64>
impl PartialOrd<NonZeroI64> for LittleEndian<NonZeroI64>
pub fn partial_cmp(&self, other: &NonZeroI64) -> Option<Ordering>
impl PartialOrd<BigEndian<f32>> for BigEndian<f32>
impl PartialOrd<BigEndian<f32>> for BigEndian<f32>
pub fn partial_cmp(&self, other: &BigEndian<f32>) -> Option<Ordering>
impl PartialOrd<NativeEndian<f32>> for NativeEndian<f32>
impl PartialOrd<NativeEndian<f32>> for NativeEndian<f32>
pub fn partial_cmp(&self, other: &NativeEndian<f32>) -> Option<Ordering>
impl PartialOrd<i32> for BigEndian<i32>
impl PartialOrd<i32> for BigEndian<i32>
pub fn partial_cmp(&self, other: &i32) -> Option<Ordering>
impl PartialOrd<BigEndian<NonZeroU128>> for BigEndian<NonZeroU128>
impl PartialOrd<BigEndian<NonZeroU128>> for BigEndian<NonZeroU128>
pub fn partial_cmp(&self, other: &BigEndian<NonZeroU128>) -> Option<Ordering>
impl PartialOrd<NonZeroI32> for BigEndian<NonZeroI32>
impl PartialOrd<NonZeroI32> for BigEndian<NonZeroI32>
pub fn partial_cmp(&self, other: &NonZeroI32) -> Option<Ordering>
impl PartialOrd<NativeEndian<NonZeroU16>> for NativeEndian<NonZeroU16>
impl PartialOrd<NativeEndian<NonZeroU16>> for NativeEndian<NonZeroU16>
pub fn partial_cmp(&self, other: &NativeEndian<NonZeroU16>) -> Option<Ordering>
impl PartialOrd<i64> for NativeEndian<i64>
impl PartialOrd<i64> for NativeEndian<i64>
pub fn partial_cmp(&self, other: &i64) -> Option<Ordering>
impl PartialOrd<NonZeroU128> for BigEndian<NonZeroU128>
impl PartialOrd<NonZeroU128> for BigEndian<NonZeroU128>
pub fn partial_cmp(&self, other: &NonZeroU128) -> Option<Ordering>
impl PartialOrd<LittleEndian<u128>> for LittleEndian<u128>
impl PartialOrd<LittleEndian<u128>> for LittleEndian<u128>
pub fn partial_cmp(&self, other: &LittleEndian<u128>) -> Option<Ordering>
impl PartialOrd<LittleEndian<i64>> for LittleEndian<i64>
impl PartialOrd<LittleEndian<i64>> for LittleEndian<i64>
pub fn partial_cmp(&self, other: &LittleEndian<i64>) -> Option<Ordering>
impl PartialOrd<NativeEndian<NonZeroI16>> for NativeEndian<NonZeroI16>
impl PartialOrd<NativeEndian<NonZeroI16>> for NativeEndian<NonZeroI16>
pub fn partial_cmp(&self, other: &NativeEndian<NonZeroI16>) -> Option<Ordering>
impl PartialOrd<BigEndian<NonZeroI128>> for BigEndian<NonZeroI128>
impl PartialOrd<BigEndian<NonZeroI128>> for BigEndian<NonZeroI128>
pub fn partial_cmp(&self, other: &BigEndian<NonZeroI128>) -> Option<Ordering>
impl PartialOrd<NonZeroU16> for NativeEndian<NonZeroU16>
impl PartialOrd<NonZeroU16> for NativeEndian<NonZeroU16>
pub fn partial_cmp(&self, other: &NonZeroU16) -> Option<Ordering>
impl PartialOrd<LittleEndian<NonZeroI128>> for LittleEndian<NonZeroI128>
impl PartialOrd<LittleEndian<NonZeroI128>> for LittleEndian<NonZeroI128>
pub fn partial_cmp(&self, other: &LittleEndian<NonZeroI128>) -> Option<Ordering>
impl PartialOrd<u128> for NativeEndian<u128>
impl PartialOrd<u128> for NativeEndian<u128>
pub fn partial_cmp(&self, other: &u128) -> Option<Ordering>
impl PartialOrd<NativeEndian<i32>> for NativeEndian<i32>
impl PartialOrd<NativeEndian<i32>> for NativeEndian<i32>
pub fn partial_cmp(&self, other: &NativeEndian<i32>) -> Option<Ordering>
impl PartialOrd<f64> for LittleEndian<f64>
impl PartialOrd<f64> for LittleEndian<f64>
pub fn partial_cmp(&self, other: &f64) -> Option<Ordering>
impl PartialOrd<NativeEndian<NonZeroI128>> for NativeEndian<NonZeroI128>
impl PartialOrd<NativeEndian<NonZeroI128>> for NativeEndian<NonZeroI128>
pub fn partial_cmp(&self, other: &NativeEndian<NonZeroI128>) -> Option<Ordering>
impl PartialOrd<f64> for NativeEndian<f64>
impl PartialOrd<f64> for NativeEndian<f64>
pub fn partial_cmp(&self, other: &f64) -> Option<Ordering>
impl PartialOrd<NativeEndian<NonZeroI64>> for NativeEndian<NonZeroI64>
impl PartialOrd<NativeEndian<NonZeroI64>> for NativeEndian<NonZeroI64>
pub fn partial_cmp(&self, other: &NativeEndian<NonZeroI64>) -> Option<Ordering>
impl PartialOrd<BigEndian<NonZeroU16>> for BigEndian<NonZeroU16>
impl PartialOrd<BigEndian<NonZeroU16>> for BigEndian<NonZeroU16>
pub fn partial_cmp(&self, other: &BigEndian<NonZeroU16>) -> Option<Ordering>
impl PartialOrd<BigEndian<char>> for BigEndian<char>
impl PartialOrd<BigEndian<char>> for BigEndian<char>
pub fn partial_cmp(&self, other: &BigEndian<char>) -> Option<Ordering>
impl PartialOrd<NonZeroU128> for NativeEndian<NonZeroU128>
impl PartialOrd<NonZeroU128> for NativeEndian<NonZeroU128>
pub fn partial_cmp(&self, other: &NonZeroU128) -> Option<Ordering>
impl PartialOrd<NonZeroU64> for NativeEndian<NonZeroU64>
impl PartialOrd<NonZeroU64> for NativeEndian<NonZeroU64>
pub fn partial_cmp(&self, other: &NonZeroU64) -> Option<Ordering>
impl PartialOrd<BigEndian<i128>> for BigEndian<i128>
impl PartialOrd<BigEndian<i128>> for BigEndian<i128>
pub fn partial_cmp(&self, other: &BigEndian<i128>) -> Option<Ordering>
impl PartialOrd<NativeEndian<u32>> for NativeEndian<u32>
impl PartialOrd<NativeEndian<u32>> for NativeEndian<u32>
pub fn partial_cmp(&self, other: &NativeEndian<u32>) -> Option<Ordering>
impl PartialOrd<NonZeroU64> for LittleEndian<NonZeroU64>
impl PartialOrd<NonZeroU64> for LittleEndian<NonZeroU64>
pub fn partial_cmp(&self, other: &NonZeroU64) -> Option<Ordering>
impl PartialOrd<BigEndian<i64>> for BigEndian<i64>
impl PartialOrd<BigEndian<i64>> for BigEndian<i64>
pub fn partial_cmp(&self, other: &BigEndian<i64>) -> Option<Ordering>
impl PartialOrd<u16> for BigEndian<u16>
impl PartialOrd<u16> for BigEndian<u16>
pub fn partial_cmp(&self, other: &u16) -> Option<Ordering>
impl PartialOrd<f32> for LittleEndian<f32>
impl PartialOrd<f32> for LittleEndian<f32>
pub fn partial_cmp(&self, other: &f32) -> Option<Ordering>
impl PartialOrd<NativeEndian<NonZeroU64>> for NativeEndian<NonZeroU64>
impl PartialOrd<NativeEndian<NonZeroU64>> for NativeEndian<NonZeroU64>
pub fn partial_cmp(&self, other: &NativeEndian<NonZeroU64>) -> Option<Ordering>
impl PartialOrd<i16> for NativeEndian<i16>
impl PartialOrd<i16> for NativeEndian<i16>
pub fn partial_cmp(&self, other: &i16) -> Option<Ordering>
impl PartialOrd<NonZeroU32> for BigEndian<NonZeroU32>
impl PartialOrd<NonZeroU32> for BigEndian<NonZeroU32>
pub fn partial_cmp(&self, other: &NonZeroU32) -> Option<Ordering>
impl PartialOrd<u128> for LittleEndian<u128>
impl PartialOrd<u128> for LittleEndian<u128>
pub fn partial_cmp(&self, other: &u128) -> Option<Ordering>
impl PartialOrd<u32> for LittleEndian<u32>
impl PartialOrd<u32> for LittleEndian<u32>
pub fn partial_cmp(&self, other: &u32) -> Option<Ordering>
impl PartialOrd<f32> for BigEndian<f32>
impl PartialOrd<f32> for BigEndian<f32>
pub fn partial_cmp(&self, other: &f32) -> Option<Ordering>
impl PartialOrd<i128> for NativeEndian<i128>
impl PartialOrd<i128> for NativeEndian<i128>
pub fn partial_cmp(&self, other: &i128) -> Option<Ordering>
impl PartialOrd<NativeEndian<NonZeroI32>> for NativeEndian<NonZeroI32>
impl PartialOrd<NativeEndian<NonZeroI32>> for NativeEndian<NonZeroI32>
pub fn partial_cmp(&self, other: &NativeEndian<NonZeroI32>) -> Option<Ordering>
impl PartialOrd<NativeEndian<u128>> for NativeEndian<u128>
impl PartialOrd<NativeEndian<u128>> for NativeEndian<u128>
pub fn partial_cmp(&self, other: &NativeEndian<u128>) -> Option<Ordering>
impl PartialOrd<LittleEndian<f32>> for LittleEndian<f32>
impl PartialOrd<LittleEndian<f32>> for LittleEndian<f32>
pub fn partial_cmp(&self, other: &LittleEndian<f32>) -> Option<Ordering>
impl PartialOrd<NonZeroU16> for BigEndian<NonZeroU16>
impl PartialOrd<NonZeroU16> for BigEndian<NonZeroU16>
pub fn partial_cmp(&self, other: &NonZeroU16) -> Option<Ordering>
impl PartialOrd<BigEndian<NonZeroI32>> for BigEndian<NonZeroI32>
impl PartialOrd<BigEndian<NonZeroI32>> for BigEndian<NonZeroI32>
pub fn partial_cmp(&self, other: &BigEndian<NonZeroI32>) -> Option<Ordering>
impl PartialOrd<u32> for BigEndian<u32>
impl PartialOrd<u32> for BigEndian<u32>
pub fn partial_cmp(&self, other: &u32) -> Option<Ordering>
impl PartialOrd<BigEndian<u32>> for BigEndian<u32>
impl PartialOrd<BigEndian<u32>> for BigEndian<u32>
pub fn partial_cmp(&self, other: &BigEndian<u32>) -> Option<Ordering>
impl PartialOrd<LittleEndian<NonZeroI64>> for LittleEndian<NonZeroI64>
impl PartialOrd<LittleEndian<NonZeroI64>> for LittleEndian<NonZeroI64>
pub fn partial_cmp(&self, other: &LittleEndian<NonZeroI64>) -> Option<Ordering>
impl PartialOrd<BigEndian<NonZeroU64>> for BigEndian<NonZeroU64>
impl PartialOrd<BigEndian<NonZeroU64>> for BigEndian<NonZeroU64>
pub fn partial_cmp(&self, other: &BigEndian<NonZeroU64>) -> Option<Ordering>
Implementors
impl PartialOrd<ExportIndex> for ExportIndex
impl PartialOrd<ImportIndex> for ImportIndex
impl PartialOrd<Infallible> for Infallible
impl PartialOrd<Ordering> for Ordering
impl PartialOrd<Bytes> for Bytes
impl PartialOrd<CustomSectionIndex> for CustomSectionIndex
impl PartialOrd<DataIndex> for DataIndex
impl PartialOrd<ElemIndex> for ElemIndex
impl PartialOrd<FunctionIndex> for FunctionIndex
impl PartialOrd<GlobalIndex> for GlobalIndex
impl PartialOrd<LocalFunctionIndex> for LocalFunctionIndex
impl PartialOrd<LocalGlobalIndex> for LocalGlobalIndex
impl PartialOrd<LocalMemoryIndex> for LocalMemoryIndex
impl PartialOrd<LocalTableIndex> for LocalTableIndex
impl PartialOrd<MemoryIndex> for MemoryIndex
impl PartialOrd<Pages> for Pages
impl PartialOrd<SignatureIndex> for SignatureIndex
impl PartialOrd<TableIndex> for TableIndex
impl PartialOrd<TypeId> for TypeId
impl PartialOrd<Error> for Error
impl PartialOrd<PhantomPinned> for PhantomPinned
impl PartialOrd<String> for String
impl<'a, 'b> PartialOrd<&'a Path> for Cow<'b, OsStr>
impl<'a, 'b> PartialOrd<&'b OsStr> for Cow<'a, OsStr>
impl<'a, 'b> PartialOrd<&'b OsStr> for Cow<'a, Path>
impl<'a, 'b> PartialOrd<&'b Path> for Cow<'a, Path>
impl<'a, 'b> PartialOrd<OsStr> for Cow<'a, OsStr>
impl<'a, 'b> PartialOrd<OsStr> for Cow<'a, Path>
impl<'a, 'b> PartialOrd<OsString> for Cow<'a, OsStr>
impl<'a, 'b> PartialOrd<OsString> for Cow<'a, Path>
impl<'a, 'b> PartialOrd<Path> for Cow<'a, OsStr>
impl<'a, 'b> PartialOrd<Path> for Cow<'a, Path>
impl<'a, 'b> PartialOrd<PathBuf> for Cow<'a, OsStr>
impl<'a, 'b> PartialOrd<PathBuf> for Cow<'a, Path>
impl<'a, B> PartialOrd<Cow<'a, B>> for Cow<'a, B> where
B: PartialOrd<B> + ToOwned + ?Sized,
impl<Dyn> PartialOrd<DynMetadata<Dyn>> for wasmer_types::lib::std::ptr::DynMetadata<Dyn> where
Dyn: ?Sized,
impl<T> PartialOrd<Cell<T>> for Cell<T> where
T: PartialOrd<T> + Copy,
impl<T> PartialOrd<RefCell<T>> for RefCell<T> where
T: PartialOrd<T> + ?Sized,
impl<T> PartialOrd<PhantomData<T>> for PhantomData<T> where
T: ?Sized,
impl<T> PartialOrd<ManuallyDrop<T>> for ManuallyDrop<T> where
T: PartialOrd<T> + ?Sized,
impl<T> PartialOrd<NonNull<T>> for NonNull<T> where
T: ?Sized,
impl<T> PartialOrd<Rc<T>> for Rc<T> where
T: PartialOrd<T> + ?Sized,
impl<T> PartialOrd<Arc<T>> for Arc<T> where
T: PartialOrd<T> + ?Sized,
impl<T> PartialOrd<ArchivedVec<T>> for Vec<T, Global> where
T: PartialOrd<T>,
impl<T> PartialOrd<Reverse<T>> for Reverse<T> where
T: PartialOrd<T>,
impl<T, A> PartialOrd<Box<T, A>> for Box<T, A> where
T: PartialOrd<T> + ?Sized,
A: Allocator,
impl<T, A> PartialOrd<Vec<T, A>> for Vec<T, A> where
T: PartialOrd<T>,
A: Allocator,
Implements comparison of vectors, lexicographically.