Trait otter_api_tests::crates::inventory::core::prelude::rust_2021::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
.
The following conditions must hold:
a == b
if and only ifpartial_cmp(a, b) == Some(Equal)
.a < b
if and only ifpartial_cmp(a, b) == Some(Less)
a > b
if and only ifpartial_cmp(a, b) == Some(Greater)
a <= b
if and only ifa < b || a == b
a >= b
if and only ifa > b || a == b
a != b
if and only if!(a == b)
.
Conditions 2–5 above are ensured by the default implementation.
Condition 6 is already ensured by PartialEq
.
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);
Implementors
impl PartialOrd<Kind> for Kind
impl PartialOrd<AccountScope> for AccountScope
impl PartialOrd<BigEndian> for BigEndian
impl PartialOrd<ErrorKind> for ErrorKind
impl PartialOrd<Infallible> for Infallible
impl PartialOrd<IpAddr> for IpAddr
impl PartialOrd<IpAddr> for Ipv4Addr
impl PartialOrd<IpAddr> for Ipv6Addr
impl PartialOrd<LinkKind> for LinkKind
impl PartialOrd<LittleEndian> for LittleEndian
impl PartialOrd<OccultationKindGeneral<(OccDisplacement, ZCoord)>> for OccultationKindGeneral<(OccDisplacement, ZCoord)>
impl PartialOrd<Ordering> for Ordering
impl PartialOrd<PieceMoveable> for PieceMoveable
impl PartialOrd<ProgressUpdateMode> for ProgressUpdateMode
impl PartialOrd<SocketAddr> for SocketAddr
impl PartialOrd<StaticUser> for StaticUser
impl PartialOrd<TablePermission> for TablePermission
impl PartialOrd<Which> for Which
impl PartialOrd<Level> for otter_api_tests::otter_support::crates::log::Level
impl PartialOrd<Level> for otter_api_tests::otter_support::crates::log::LevelFilter
impl PartialOrd<LevelFilter> for otter_api_tests::otter_support::crates::log::Level
impl PartialOrd<LevelFilter> for otter_api_tests::otter_support::crates::log::LevelFilter
impl PartialOrd<PosixFadviseAdvice> for PosixFadviseAdvice
impl PartialOrd<AioFsyncMode> for AioFsyncMode
impl PartialOrd<LioMode> for LioMode
impl PartialOrd<LioOpcode> for LioOpcode
impl PartialOrd<MmapAdvise> for MmapAdvise
impl PartialOrd<Event> for Event
impl PartialOrd<Request> for Request
impl PartialOrd<QuotaFmt> for QuotaFmt
impl PartialOrd<QuotaType> for QuotaType
impl PartialOrd<RebootMode> for RebootMode
impl PartialOrd<Resource> for Resource
impl PartialOrd<SigmaskHow> for SigmaskHow
impl PartialOrd<Signal> for Signal
impl PartialOrd<BaudRate> for BaudRate
impl PartialOrd<FlowArg> for FlowArg
impl PartialOrd<FlushArg> for FlushArg
impl PartialOrd<SetArg> for SetArg
impl PartialOrd<SpecialCharacterIndices> for SpecialCharacterIndices
impl PartialOrd<ClockId> for otter_api_tests::otter_support::crates::nix::sys::timerfd::ClockId
impl PartialOrd<Id> for otter_api_tests::otter_support::crates::nix::sys::wait::Id
impl PartialOrd<IpAddrRange> for IpAddrRange
impl PartialOrd<IpNet> for IpNet
impl PartialOrd<IpSubnets> for IpSubnets
impl PartialOrd<Sign> for Sign
impl PartialOrd<Encoding> for Encoding
impl PartialOrd<Algorithm> for Algorithm
impl PartialOrd<bool> for bool
impl PartialOrd<char> for char
impl PartialOrd<f32> for f32
impl PartialOrd<f64> for f64
impl PartialOrd<i8> for i8
impl PartialOrd<i16> for i16
impl PartialOrd<i32> for i32
impl PartialOrd<i32> for otter_api_tests::materials_format::Version
impl PartialOrd<i64> for i64
impl PartialOrd<i128> for i128
impl PartialOrd<isize> for isize
impl PartialOrd<!> for !
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.
impl PartialOrd<str> for OsStr
impl PartialOrd<str> for OsString
impl PartialOrd<str> for HeaderValue
impl PartialOrd<str> for Authority
impl PartialOrd<str> for PathAndQuery
impl PartialOrd<str> for Bytes
impl PartialOrd<str> for BytesMut
impl PartialOrd<str> for UncasedStr
impl PartialOrd<u8> for u8
impl PartialOrd<u16> for u16
impl PartialOrd<u32> for u32
impl PartialOrd<u64> for u64
impl PartialOrd<u128> for u128
impl PartialOrd<()> for ()
impl PartialOrd<usize> for usize
impl PartialOrd<usize> for LibInBundleI
impl PartialOrd<usize> for DescId
impl PartialOrd<usize> for SvgId
impl PartialOrd<usize> for FaceId
impl PartialOrd<usize> for Notch
impl PartialOrd<usize> for PIA
impl PartialOrd<usize> for PIB
impl PartialOrd<Id> for otter_api_tests::bundles::Id
impl PartialOrd<Index> for Index
impl PartialOrd<LibInBundleI> for usize
impl PartialOrd<LibInBundleI> for LibInBundleI
impl PartialOrd<ZipIndex> for ZipIndex
impl PartialOrd<MatchOptions> for MatchOptions
impl PartialOrd<Pattern> for Pattern
impl PartialOrd<TypeId> for TypeId
impl PartialOrd<CpuidResult> for CpuidResult
impl PartialOrd<CStr> for CStr
impl PartialOrd<Error> for Error
impl PartialOrd<PhantomPinned> for PhantomPinned
impl PartialOrd<NonZeroI8> for NonZeroI8
impl PartialOrd<NonZeroI16> for NonZeroI16
impl PartialOrd<NonZeroI32> for NonZeroI32
impl PartialOrd<NonZeroI64> for NonZeroI64
impl PartialOrd<NonZeroI128> for NonZeroI128
impl PartialOrd<NonZeroIsize> for NonZeroIsize
impl PartialOrd<NonZeroU8> for NonZeroU8
impl PartialOrd<NonZeroU16> for NonZeroU16
impl PartialOrd<NonZeroU32> for NonZeroU32
impl PartialOrd<NonZeroU64> for NonZeroU64
impl PartialOrd<NonZeroU128> for NonZeroU128
impl PartialOrd<Unsupported> for Unsupported
impl PartialOrd<Version> for otter_api_tests::materials_format::Version
impl PartialOrd<Duration> for otter_api_tests::otter_support::crates::chrono::Duration
impl PartialOrd<IsoWeek> for IsoWeek
impl PartialOrd<NaiveDate> for NaiveDate
impl PartialOrd<NaiveDateTime> for NaiveDateTime
impl PartialOrd<NaiveTime> for NaiveTime
impl PartialOrd<ATerm> for ATerm
impl PartialOrd<B0> for B0
impl PartialOrd<B1> for B1
impl PartialOrd<Equal> for Equal
impl PartialOrd<Greater> for Greater
impl PartialOrd<Less> for Less
impl PartialOrd<UTerm> for UTerm
impl PartialOrd<Z0> for Z0
impl PartialOrd<AtFlags> for AtFlags
impl PartialOrd<FallocateFlags> for FallocateFlags
impl PartialOrd<FdFlag> for otter_api_tests::otter_support::crates::nix::fcntl::FdFlag
impl PartialOrd<OFlag> for OFlag
impl PartialOrd<RenameFlags> for RenameFlags
impl PartialOrd<SealFlag> for SealFlag
impl PartialOrd<SpliceFFlags> for SpliceFFlags
impl PartialOrd<DeleteModuleFlags> for DeleteModuleFlags
impl PartialOrd<ModuleInitFlags> for ModuleInitFlags
impl PartialOrd<MntFlags> for MntFlags
impl PartialOrd<MsFlags> for otter_api_tests::otter_support::crates::nix::mount::MsFlags
impl PartialOrd<FdFlag> for otter_api_tests::otter_support::crates::nix::mqueue::FdFlag
impl PartialOrd<MQ_OFlag> for MQ_OFlag
impl PartialOrd<InterfaceFlags> for InterfaceFlags
impl PartialOrd<PollFlags> for PollFlags
impl PartialOrd<CloneFlags> for CloneFlags
impl PartialOrd<EpollCreateFlags> for EpollCreateFlags
impl PartialOrd<EpollFlags> for EpollFlags
impl PartialOrd<EfdFlags> for EfdFlags
impl PartialOrd<AddWatchFlags> for AddWatchFlags
impl PartialOrd<InitFlags> for InitFlags
impl PartialOrd<WatchDescriptor> for WatchDescriptor
impl PartialOrd<MemFdCreateFlag> for MemFdCreateFlag
impl PartialOrd<MRemapFlags> for MRemapFlags
impl PartialOrd<MapFlags> for MapFlags
impl PartialOrd<MlockAllFlags> for MlockAllFlags
impl PartialOrd<MsFlags> for otter_api_tests::otter_support::crates::nix::sys::mman::MsFlags
impl PartialOrd<ProtFlags> for ProtFlags
impl PartialOrd<Persona> for Persona
impl PartialOrd<Options> for Options
impl PartialOrd<QuotaValidFlags> for QuotaValidFlags
impl PartialOrd<SaFlags> for SaFlags
impl PartialOrd<SfdFlags> for SfdFlags
impl PartialOrd<MsgFlags> for MsgFlags
impl PartialOrd<SockFlag> for SockFlag
impl PartialOrd<TimestampingFlag> for TimestampingFlag
impl PartialOrd<Mode> for Mode
impl PartialOrd<SFlag> for SFlag
impl PartialOrd<FsFlags> for FsFlags
impl PartialOrd<ControlFlags> for ControlFlags
impl PartialOrd<InputFlags> for InputFlags
impl PartialOrd<LocalFlags> for LocalFlags
impl PartialOrd<OutputFlags> for OutputFlags
impl PartialOrd<TimeVal> for TimeVal
impl PartialOrd<TimerSetTimeFlags> for TimerSetTimeFlags
impl PartialOrd<TimerFlags> for TimerFlags
impl PartialOrd<WaitPidFlag> for WaitPidFlag
impl PartialOrd<ClockId> for otter_api_tests::otter_support::crates::nix::time::ClockId
impl PartialOrd<AccessFlags> for AccessFlags
impl PartialOrd<Pid> for Pid
impl PartialOrd<LimbVal> for LimbVal
impl PartialOrd<DefaultKey> for DefaultKey
impl PartialOrd<KeyData> for KeyData
impl PartialOrd<SystemTime> for SystemTime
impl PartialOrd<SystemTime> for OffsetDateTime
impl PartialOrd<DescId> for usize
impl PartialOrd<DescId> for DescId
impl PartialOrd<SvgId> for usize
impl PartialOrd<SvgId> for SvgId
impl PartialOrd<Fingerprint> for Fingerprint
impl PartialOrd<Id> for otter_api_tests::sshkeys::Id
impl PartialOrd<KeySpec> for KeySpec
impl PartialOrd<Nonce> for Nonce
impl PartialOrd<AccountId> for AccountId
impl PartialOrd<AccountName> for AccountName
impl PartialOrd<AccountNotFound> for AccountNotFound
impl PartialOrd<ClientId> for ClientId
impl PartialOrd<Duration> for otter_api_tests::Duration
impl PartialOrd<Duration> for Duration
impl PartialOrd<FaceId> for usize
impl PartialOrd<FaceId> for FaceId
impl PartialOrd<FastSplitId> for FastSplitId
impl PartialOrd<FutureInstant> for FutureInstant
impl PartialOrd<Generation> for Generation
impl PartialOrd<GoodItemName> for GoodItemName
impl PartialOrd<Html> for Html
impl PartialOrd<HtmlLit> for HtmlLit
impl PartialOrd<HtmlStr> for HtmlStr
impl PartialOrd<InstanceName> for InstanceName
impl PartialOrd<Instant> for otter_api_tests::Instant
impl PartialOrd<Instant> for Instant
impl PartialOrd<Ipv4Addr> for IpAddr
impl PartialOrd<Ipv4Addr> for Ipv4Addr
impl PartialOrd<Ipv6Addr> for IpAddr
impl PartialOrd<Ipv6Addr> for Ipv6Addr
impl PartialOrd<ItemEnquiryData> for ItemEnquiryData
impl PartialOrd<LibraryEnquiryData> for LibraryEnquiryData
impl PartialOrd<NonZeroUsize> for NonZeroUsize
impl PartialOrd<Notch> for usize
impl PartialOrd<Notch> for Notch
impl PartialOrd<OccId> for OccId
impl PartialOrd<OccultIlkId> for OccultIlkId
impl PartialOrd<OsStr> for OsStr
impl PartialOrd<PIA> for usize
impl PartialOrd<PIA> for PIA
impl PartialOrd<PIB> for usize
impl PartialOrd<PIB> for PIB
impl PartialOrd<PathBuf> for PathBuf
impl PartialOrd<PieceId> for PieceId
impl PartialOrd<PlayerId> for PlayerId
impl PartialOrd<PlayerNotFound> for PlayerNotFound
impl PartialOrd<RawToken> for RawToken
impl PartialOrd<RawTokenVal> for RawTokenVal
impl PartialOrd<SpecDepth> for SpecDepth
impl PartialOrd<TimeSpec> for TimeSpec
impl PartialOrd<Timestamp> for Timestamp
impl PartialOrd<TokenRevelationKey> for TokenRevelationKey
impl PartialOrd<UpdateId> for UpdateId
impl PartialOrd<Url> for Url
URLs compare like their serialization.
impl PartialOrd<UrlSpec> for UrlSpec
impl PartialOrd<VisiblePieceId> for VisiblePieceId
impl PartialOrd<ZCoord> for ZCoord
impl PartialOrd<ZLevel> for ZLevel
impl PartialOrd<CString> for CString
impl PartialOrd<String> for String
impl PartialOrd<String> for HeaderValue
impl PartialOrd<String> for Authority
impl PartialOrd<String> for PathAndQuery
impl PartialOrd<String> for Bytes
impl PartialOrd<String> for BytesMut
impl PartialOrd<Vec<u8, Global>> for Bytes
impl PartialOrd<Vec<u8, Global>> for BytesMut
impl PartialOrd<OsString> for OsString
impl PartialOrd<SocketAddrV4> for SocketAddrV4
impl PartialOrd<SocketAddrV6> for SocketAddrV6
impl PartialOrd<Path> for Path
impl PartialOrd<SteadyTime> for SteadyTime
impl PartialOrd<Timespec> for Timespec
impl PartialOrd<Tm> for Tm
impl PartialOrd<HeaderValue> for str
impl PartialOrd<HeaderValue> for String
impl PartialOrd<HeaderValue> for HeaderValue
impl PartialOrd<HeaderValue> for [u8]
impl PartialOrd<StatusCode> for StatusCode
impl PartialOrd<Authority> for str
impl PartialOrd<Authority> for String
impl PartialOrd<Authority> for Authority
Case-insensitive ordering
Examples
let authority: Authority = "DEF.com".parse().unwrap();
assert!(authority < "ghi.com");
assert!(authority > "abc.com");
impl PartialOrd<PathAndQuery> for str
impl PartialOrd<PathAndQuery> for String
impl PartialOrd<PathAndQuery> for PathAndQuery
impl PartialOrd<Version> for http::version::Version
impl PartialOrd<Ipv4AddrRange> for Ipv4AddrRange
impl PartialOrd<Ipv6AddrRange> for Ipv6AddrRange
impl PartialOrd<Ipv4Net> for Ipv4Net
impl PartialOrd<Ipv4Subnets> for Ipv4Subnets
impl PartialOrd<Ipv6Net> for Ipv6Net
impl PartialOrd<Ipv6Subnets> for Ipv6Subnets
impl PartialOrd<Mime> for Mime
impl PartialOrd<PollOpt> for PollOpt
impl PartialOrd<Ready> for mio::event_imp::Ready
impl PartialOrd<UnixReady> for UnixReady
impl PartialOrd<Token> for mio::token::Token
impl PartialOrd<BigInt> for BigInt
impl PartialOrd<BigUint> for BigUint
impl PartialOrd<Asn1Time> for Asn1Time
impl PartialOrd<Asn1Time> for Asn1TimeRef
impl PartialOrd<Asn1TimeRef> for Asn1Time
impl PartialOrd<Asn1TimeRef> for Asn1TimeRef
impl PartialOrd<BigNum> for BigNum
impl PartialOrd<BigNum> for BigNumRef
impl PartialOrd<BigNumRef> for BigNum
impl PartialOrd<BigNumRef> for BigNumRef
impl PartialOrd<CMSOptions> for CMSOptions
impl PartialOrd<OcspFlag> for OcspFlag
impl PartialOrd<Pkcs7Flags> for Pkcs7Flags
impl PartialOrd<ExtensionContext> for ExtensionContext
impl PartialOrd<ShutdownState> for ShutdownState
impl PartialOrd<SslMode> for SslMode
impl PartialOrd<SslOptions> for SslOptions
impl PartialOrd<SslSessionCacheMode> for SslSessionCacheMode
impl PartialOrd<SslVerifyMode> for SslVerifyMode
impl PartialOrd<X509CheckFlags> for X509CheckFlags
impl PartialOrd<X509VerifyFlags> for X509VerifyFlags
impl PartialOrd<Version> for reqwest::tls::Version
impl PartialOrd<CommaSeparator> for CommaSeparator
impl PartialOrd<SpaceSeparator> for SpaceSeparator
impl PartialOrd<Level> for tracing_core::metadata::Level
impl PartialOrd<Level> for tracing_core::metadata::LevelFilter
impl PartialOrd<LevelFilter> for tracing_core::metadata::Level
impl PartialOrd<LevelFilter> for tracing_core::metadata::LevelFilter
impl PartialOrd<AnyDelimiterCodec> for AnyDelimiterCodec
impl PartialOrd<ArangeEntry> for ArangeEntry
impl PartialOrd<Attribute> for Attribute
impl PartialOrd<BStr> for BStr
impl PartialOrd<BString> for BString
impl PartialOrd<ByteBuf> for ByteBuf
impl PartialOrd<Bytes> for str
impl PartialOrd<Bytes> for String
impl PartialOrd<Bytes> for Vec<u8, Global>
impl PartialOrd<Bytes> for Bytes
impl PartialOrd<Bytes> for [u8]
impl PartialOrd<BytesCodec> for BytesCodec
impl PartialOrd<BytesMut> for str
impl PartialOrd<BytesMut> for String
impl PartialOrd<BytesMut> for Vec<u8, Global>
impl PartialOrd<BytesMut> for BytesMut
impl PartialOrd<BytesMut> for [u8]
impl PartialOrd<Char> for char
impl PartialOrd<ClassBytesRange> for ClassBytesRange
impl PartialOrd<ClassUnicodeRange> for ClassUnicodeRange
impl PartialOrd<ColumnType> for ColumnType
impl PartialOrd<Compression> for Compression
impl PartialOrd<Date> for Date
impl PartialOrd<Delay> for Delay
impl PartialOrd<Duration> for otter_api_tests::Duration
impl PartialOrd<Duration> for Duration
impl PartialOrd<DwAccess> for DwAccess
impl PartialOrd<DwAddr> for DwAddr
impl PartialOrd<DwAt> for DwAt
impl PartialOrd<DwAte> for DwAte
impl PartialOrd<DwCc> for DwCc
impl PartialOrd<DwCfa> for DwCfa
impl PartialOrd<DwChildren> for DwChildren
impl PartialOrd<DwDefaulted> for DwDefaulted
impl PartialOrd<DwDs> for DwDs
impl PartialOrd<DwDsc> for DwDsc
impl PartialOrd<DwEhPe> for DwEhPe
impl PartialOrd<DwEnd> for DwEnd
impl PartialOrd<DwForm> for DwForm
impl PartialOrd<DwId> for DwId
impl PartialOrd<DwIdx> for DwIdx
impl PartialOrd<DwInl> for DwInl
impl PartialOrd<DwLang> for DwLang
impl PartialOrd<DwLle> for DwLle
impl PartialOrd<DwLnct> for DwLnct
impl PartialOrd<DwLne> for DwLne
impl PartialOrd<DwLns> for DwLns
impl PartialOrd<DwMacro> for DwMacro
impl PartialOrd<DwOp> for DwOp
impl PartialOrd<DwOrd> for DwOrd
impl PartialOrd<DwRle> for DwRle
impl PartialOrd<DwSect> for DwSect
impl PartialOrd<DwSectV2> for DwSectV2
impl PartialOrd<DwTag> for DwTag
impl PartialOrd<DwUt> for DwUt
impl PartialOrd<DwVirtuality> for DwVirtuality
impl PartialOrd<DwVis> for DwVis
impl PartialOrd<EventMask> for EventMask
impl PartialOrd<FileTime> for FileTime
impl PartialOrd<FileType> for FileType
impl PartialOrd<InHand> for usize
impl PartialOrd<Instant> for otter_api_tests::Instant
impl PartialOrd<Instant> for Instant
impl PartialOrd<Instant> for Instant
impl PartialOrd<Interest> for Interest
impl PartialOrd<Level> for Level
impl PartialOrd<LinesCodec> for LinesCodec
impl PartialOrd<Literal> for Literal
impl PartialOrd<MatchingType> for MatchingType
impl PartialOrd<NormalForm> for NormalForm
impl PartialOrd<OffsetDateTime> for SystemTime
impl PartialOrd<OffsetDateTime> for OffsetDateTime
impl PartialOrd<Op> for Op
impl PartialOrd<Position> for Position
impl PartialOrd<PrimitiveDateTime> for PrimitiveDateTime
impl PartialOrd<Ready> for Ready
impl PartialOrd<RecursiveMode> for RecursiveMode
impl PartialOrd<Register> for Register
impl PartialOrd<SectionId> for SectionId
impl PartialOrd<Span> for Span
impl PartialOrd<Time> for Time
impl PartialOrd<Token> for Token
impl PartialOrd<Transformations> for Transformations
impl PartialOrd<UncasedStr> for str
impl PartialOrd<UncasedStr> for UncasedStr
impl PartialOrd<UnicodeVersion> for UnicodeVersion
impl PartialOrd<UtcOffset> for UtcOffset
impl PartialOrd<Utf8Range> for Utf8Range
impl PartialOrd<Utf8Sequence> for Utf8Sequence
impl PartialOrd<WatchMask> for WatchMask
impl PartialOrd<[u8]> for HeaderValue
impl PartialOrd<[u8]> for Bytes
impl PartialOrd<[u8]> for BytesMut
impl<'_> PartialOrd<Bytes> for &str
impl<'_> PartialOrd<Bytes> for &[u8]
impl<'_> PartialOrd<BytesMut> for &str
impl<'_> PartialOrd<BytesMut> for &[u8]
impl<'_, '_, A, B> PartialOrd<&B> for &A where
A: PartialOrd<B> + ?Sized,
B: ?Sized,
impl<'_, '_, A, B> PartialOrd<&mut B> for &mut A where
A: PartialOrd<B> + ?Sized,
B: ?Sized,
impl<'a> PartialOrd<&'a str> for Authority
impl<'a> PartialOrd<&'a str> for PathAndQuery
impl<'a> PartialOrd<&'a Asn1TimeRef> for Asn1Time
impl<'a> PartialOrd<Component<'a>> for Component<'a>
impl<'a> PartialOrd<Prefix<'a>> for Prefix<'a>
impl<'a> PartialOrd<Location<'a>> for Location<'a>
impl<'a> PartialOrd<Metadata<'a>> for Metadata<'a>
impl<'a> PartialOrd<MetadataBuilder<'a>> for MetadataBuilder<'a>
impl<'a> PartialOrd<Components<'a>> for Components<'a>
impl<'a> PartialOrd<PrefixComponent<'a>> for PrefixComponent<'a>
impl<'a> PartialOrd<HeaderValue> for &'a str
impl<'a> PartialOrd<HeaderValue> for &'a HeaderValue
impl<'a> PartialOrd<Authority> for &'a str
impl<'a> PartialOrd<PathAndQuery> for &'a str
impl<'a> PartialOrd<Name<'a>> for Name<'a>
impl<'a> PartialOrd<Asn1Time> for &'a Asn1TimeRef
impl<'a> PartialOrd<Ident<'a>> for Ident<'a>
impl<'a> PartialOrd<Value<'a>> for Value<'a>
impl<'a> PartialOrd<Bytes<'a>> for Bytes<'a>
impl<'a, 'b> PartialOrd<&'a str> for BStr
impl<'a, 'b> PartialOrd<&'a str> for BString
impl<'a, 'b> PartialOrd<&'a OsStr> for PathBuf
impl<'a, 'b> PartialOrd<&'a OsStr> for OsString
impl<'a, 'b> PartialOrd<&'a OsStr> for Path
impl<'a, 'b> PartialOrd<&'a Path> for Cow<'b, OsStr>
impl<'a, 'b> PartialOrd<&'a Path> for OsStr
impl<'a, 'b> PartialOrd<&'a Path> for PathBuf
impl<'a, 'b> PartialOrd<&'a Path> for OsString
impl<'a, 'b> PartialOrd<&'a BStr> for String
impl<'a, 'b> PartialOrd<&'a BStr> for Vec<u8, Global>
impl<'a, 'b> PartialOrd<&'a BStr> for BString
impl<'a, 'b> PartialOrd<&'a [u8]> for BStr
impl<'a, 'b> PartialOrd<&'a [u8]> for BString
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<Cow<'a, OsStr>> for &'b OsStr
impl<'a, 'b> PartialOrd<Cow<'a, OsStr>> for OsStr
impl<'a, 'b> PartialOrd<Cow<'a, OsStr>> for PathBuf
impl<'a, 'b> PartialOrd<Cow<'a, OsStr>> for OsString
impl<'a, 'b> PartialOrd<Cow<'a, OsStr>> for Path
impl<'a, 'b> PartialOrd<Cow<'a, Path>> for &'b OsStr
impl<'a, 'b> PartialOrd<Cow<'a, Path>> for &'b Path
impl<'a, 'b> PartialOrd<Cow<'a, Path>> for OsStr
impl<'a, 'b> PartialOrd<Cow<'a, Path>> for PathBuf
impl<'a, 'b> PartialOrd<Cow<'a, Path>> for OsString
impl<'a, 'b> PartialOrd<Cow<'a, Path>> for Path
impl<'a, 'b> PartialOrd<Cow<'b, OsStr>> for &'a Path
impl<'a, 'b> PartialOrd<str> for BStr
impl<'a, 'b> PartialOrd<str> for BString
impl<'a, 'b> PartialOrd<OsStr> for &'a Path
impl<'a, 'b> PartialOrd<OsStr> for Cow<'a, OsStr>
impl<'a, 'b> PartialOrd<OsStr> for Cow<'a, Path>
impl<'a, 'b> PartialOrd<OsStr> for PathBuf
impl<'a, 'b> PartialOrd<OsStr> for OsString
impl<'a, 'b> PartialOrd<OsStr> for Path
impl<'a, 'b> PartialOrd<PathBuf> for &'a OsStr
impl<'a, 'b> PartialOrd<PathBuf> for &'a Path
impl<'a, 'b> PartialOrd<PathBuf> for Cow<'a, OsStr>
impl<'a, 'b> PartialOrd<PathBuf> for Cow<'a, Path>
impl<'a, 'b> PartialOrd<PathBuf> for OsStr
impl<'a, 'b> PartialOrd<PathBuf> for OsString
impl<'a, 'b> PartialOrd<PathBuf> for Path
impl<'a, 'b> PartialOrd<String> for &'a BStr
impl<'a, 'b> PartialOrd<String> for BStr
impl<'a, 'b> PartialOrd<String> for BString
impl<'a, 'b> PartialOrd<Vec<u8, Global>> for &'a BStr
impl<'a, 'b> PartialOrd<Vec<u8, Global>> for BStr
impl<'a, 'b> PartialOrd<Vec<u8, Global>> for BString
impl<'a, 'b> PartialOrd<OsString> for &'a OsStr
impl<'a, 'b> PartialOrd<OsString> for &'a Path
impl<'a, 'b> PartialOrd<OsString> for Cow<'a, OsStr>
impl<'a, 'b> PartialOrd<OsString> for Cow<'a, Path>
impl<'a, 'b> PartialOrd<OsString> for OsStr
impl<'a, 'b> PartialOrd<OsString> for PathBuf
impl<'a, 'b> PartialOrd<OsString> for Path
impl<'a, 'b> PartialOrd<Path> for &'a OsStr
impl<'a, 'b> PartialOrd<Path> for Cow<'a, OsStr>
impl<'a, 'b> PartialOrd<Path> for Cow<'a, Path>
impl<'a, 'b> PartialOrd<Path> for OsStr
impl<'a, 'b> PartialOrd<Path> for PathBuf
impl<'a, 'b> PartialOrd<Path> for OsString
impl<'a, 'b> PartialOrd<BStr> for &'a str
impl<'a, 'b> PartialOrd<BStr> for &'a [u8]
impl<'a, 'b> PartialOrd<BStr> for str
impl<'a, 'b> PartialOrd<BStr> for String
impl<'a, 'b> PartialOrd<BStr> for Vec<u8, Global>
impl<'a, 'b> PartialOrd<BStr> for BString
impl<'a, 'b> PartialOrd<BStr> for [u8]
impl<'a, 'b> PartialOrd<BString> for &'a str
impl<'a, 'b> PartialOrd<BString> for &'a BStr
impl<'a, 'b> PartialOrd<BString> for &'a [u8]
impl<'a, 'b> PartialOrd<BString> for str
impl<'a, 'b> PartialOrd<BString> for String
impl<'a, 'b> PartialOrd<BString> for Vec<u8, Global>
impl<'a, 'b> PartialOrd<BString> for BStr
impl<'a, 'b> PartialOrd<BString> for [u8]
impl<'a, 'b> PartialOrd<[u8]> for BStr
impl<'a, 'b> PartialOrd<[u8]> for BString
impl<'a, B> PartialOrd<Cow<'a, B>> for Cow<'a, B> where
B: PartialOrd<B> + ToOwned + ?Sized,
impl<'a, T> PartialOrd<&'a T> for HeaderValue where
T: ?Sized,
HeaderValue: PartialOrd<T>,
impl<'a, T> PartialOrd<&'a T> for Bytes where
T: ?Sized,
Bytes: PartialOrd<T>,
impl<'a, T> PartialOrd<&'a T> for BytesMut where
T: ?Sized,
BytesMut: PartialOrd<T>,
impl<'i> PartialOrd<Position<'i>> for pest::position::Position<'i>
impl<'s> PartialOrd<TomlQuote<'s>> for TomlQuote<'s>
impl<'s, T> PartialOrd<SliceVec<'s, T>> for SliceVec<'s, T> where
T: PartialOrd<T>,
impl<A> PartialOrd<ArrayVec<A>> for ArrayVec<A> where
A: Array,
<A as Array>::Item: PartialOrd<<A as Array>::Item>,
impl<A> PartialOrd<SmallVec<A>> for SmallVec<A> where
A: Array,
<A as Array>::Item: PartialOrd<<A as Array>::Item>,
impl<A> PartialOrd<TinyVec<A>> for TinyVec<A> where
A: Array,
<A as Array>::Item: PartialOrd<<A as Array>::Item>,
impl<Dyn> PartialOrd<DynMetadata<Dyn>> for DynMetadata<Dyn> where
Dyn: ?Sized,
impl<E> PartialOrd<I16Bytes<E>> for I16Bytes<E> where
E: PartialOrd<E> + Endian,
impl<E> PartialOrd<I32Bytes<E>> for I32Bytes<E> where
E: PartialOrd<E> + Endian,
impl<E> PartialOrd<I64Bytes<E>> for I64Bytes<E> where
E: PartialOrd<E> + Endian,
impl<E> PartialOrd<U16Bytes<E>> for U16Bytes<E> where
E: PartialOrd<E> + Endian,
impl<E> PartialOrd<U32Bytes<E>> for U32Bytes<E> where
E: PartialOrd<E> + Endian,
impl<E> PartialOrd<U64Bytes<E>> for U64Bytes<E> where
E: PartialOrd<E> + Endian,
impl<EntryData> PartialOrd<VecList<EntryData>> for VecList<EntryData> where
EntryData: PartialOrd<EntryData>,
impl<I, T> PartialOrd<IndexSlice<I, [T]>> for IndexSlice<I, [T]> where
I: Idx,
T: PartialOrd<T>,
impl<I, T> PartialOrd<IndexVec<I, T>> for IndexVec<I, T> where
I: PartialOrd<I> + Idx,
T: PartialOrd<T>,
impl<K, V, A> PartialOrd<BTreeMap<K, V, A>> for BTreeMap<K, V, A> where
K: PartialOrd<K>,
V: PartialOrd<V>,
A: Allocator + Clone,
impl<L, R> PartialOrd<Either<L, R>> for Either<L, R> where
L: PartialOrd<L>,
R: PartialOrd<R>,
impl<P, Q> PartialOrd<Pin<Q>> for Pin<P> where
P: Deref,
Q: Deref,
<P as Deref>::Target: PartialOrd<<Q as Deref>::Target>,
impl<Ret> PartialOrd<fn() -> Ret> for fn() -> Ret
impl<Ret> PartialOrd<extern "C" fn() -> Ret> for extern "C" fn() -> Ret
impl<Ret> PartialOrd<unsafe fn() -> Ret> for unsafe fn() -> Ret
impl<Ret> PartialOrd<unsafe extern "C" fn() -> Ret> for unsafe extern "C" fn() -> Ret
impl<Ret, A> PartialOrd<fn(A) -> Ret> for fn(A) -> Ret
impl<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
impl<Ret, A> PartialOrd<unsafe fn(A) -> Ret> for unsafe fn(A) -> Ret
impl<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
impl<Ret, A, B> PartialOrd<fn(A, B) -> Ret> for fn(A, B) -> Ret
impl<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
impl<Ret, A, B> PartialOrd<unsafe fn(A, B) -> Ret> for unsafe fn(A, B) -> Ret
impl<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
impl<Ret, A, B, C> PartialOrd<fn(A, B, C) -> Ret> for 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
impl<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<unsafe fn(A, B, C) -> Ret> for unsafe 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
impl<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, D> PartialOrd<fn(A, B, C, D) -> Ret> for 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
impl<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<unsafe fn(A, B, C, D) -> Ret> for unsafe 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
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
impl<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<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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
impl<S> PartialOrd<Host<S>> for Host<S> where
S: PartialOrd<S>,
impl<Sep, T> PartialOrd<StringWithSeparator<Sep, T>> for StringWithSeparator<Sep, T> where
Sep: PartialOrd<Sep>,
T: PartialOrd<T>,
impl<T> PartialOrd<Option<T>> for Option<T> where
T: PartialOrd<T>,
impl<T> PartialOrd<Poll<T>> for Poll<T> where
T: PartialOrd<T>,
impl<T> PartialOrd<RegionC<T>> for RegionC<T> where
T: PartialOrd<T> + Copy,
impl<T> PartialOrd<*const T> for *const T where
T: ?Sized,
impl<T> PartialOrd<*mut T> for *mut T where
T: ?Sized,
impl<T> PartialOrd<[T]> for [T] where
T: PartialOrd<T>,
Implements comparison of vectors lexicographically.
impl<T> PartialOrd<(T,)> for (T₁, T₂, …, Tₙ) where
T: PartialOrd<T> + PartialEq<T> + ?Sized,
This trait is implemented for tuples up to twelve items long.
impl<T> PartialOrd<Cell<T>> for Cell<T> where
T: PartialOrd<T> + Copy,
impl<T> PartialOrd<Saturating<T>> for Saturating<T> where
T: PartialOrd<T>,
impl<T> PartialOrd<NotNan<T>> for NotNan<T> where
T: PartialOrd<T>,
impl<T> PartialOrd<CapacityError<T>> for CapacityError<T> where
T: PartialOrd<T>,
impl<T> PartialOrd<ManuallyDrop<T>> for ManuallyDrop<T> where
T: PartialOrd<T> + ?Sized,
impl<T> PartialOrd<Spanned<T>> for Spanned<T> where
T: PartialOrd<T>,
impl<T> PartialOrd<Reverse<T>> for Reverse<T> where
T: PartialOrd<T>,
impl<T> PartialOrd<Arc<T>> for Arc<T> where
T: PartialOrd<T> + ?Sized,
impl<T> PartialOrd<IsHtmlFormatted<T>> for IsHtmlFormatted<T> where
T: PartialOrd<T> + Display,
impl<T> PartialOrd<OrderedFloat<T>> for OrderedFloat<T> where
T: Float,
impl<T> PartialOrd<PhantomData<T>> for PhantomData<T> where
T: ?Sized,
impl<T> PartialOrd<PosC<T>> for PosC<T> where
T: PartialOrd<T>,
impl<T> PartialOrd<RectC<T>> for RectC<T> where
T: PartialOrd<T>,
impl<T> PartialOrd<RefCell<T>> for RefCell<T> where
T: PartialOrd<T> + ?Sized,
impl<T> PartialOrd<UniCase<T>> for UniCase<T> where
T: AsRef<str>,
impl<T> PartialOrd<Wrapping<T>> for Wrapping<T> where
T: PartialOrd<T>,
impl<T> PartialOrd<LinkedList<T>> for LinkedList<T> where
T: PartialOrd<T>,
impl<T> PartialOrd<Rc<T>> for Rc<T> where
T: PartialOrd<T> + ?Sized,
impl<T> PartialOrd<NonNull<T>> for NonNull<T> where
T: ?Sized,
impl<T> PartialOrd<Ratio<T>> for Ratio<T> where
T: Clone + Integer,
impl<T> PartialOrd<Ascii<T>> for Ascii<T> where
T: AsRef<str>,
impl<T> PartialOrd<AllowStdIo<T>> for AllowStdIo<T> where
T: PartialOrd<T>,
impl<T> PartialOrd<DebugInfoOffset<T>> for DebugInfoOffset<T> where
T: PartialOrd<T>,
impl<T> PartialOrd<DebugTypesOffset<T>> for DebugTypesOffset<T> where
T: PartialOrd<T>,
impl<T> PartialOrd<T> for Void
impl<T> PartialOrd<UnitOffset<T>> for UnitOffset<T> where
T: PartialOrd<T>,
impl<T> PartialOrd<UnitSectionOffset<T>> for UnitSectionOffset<T> where
T: PartialOrd<T>,
impl<T, A> PartialOrd<BTreeSet<T, A>> for BTreeSet<T, A> where
T: PartialOrd<T>,
A: Allocator + Clone,
impl<T, A> PartialOrd<VecDeque<T, A>> for VecDeque<T, A> where
T: PartialOrd<T>,
A: Allocator,
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.