rustmax::cxx::std::prelude::rust_2024

Trait PartialOrd

Source
pub trait PartialOrd<Rhs = Self>: PartialEq<Rhs>
where Rhs: ?Sized,
{ // Required method fn partial_cmp(&self, other: &Rhs) -> Option<Ordering>; // Provided methods fn lt(&self, other: &Rhs) -> bool { ... } fn le(&self, other: &Rhs) -> bool { ... } fn gt(&self, other: &Rhs) -> bool { ... } fn ge(&self, other: &Rhs) -> bool { ... } }
๐Ÿ”ฌThis is a nightly-only experimental API. (prelude_2024)
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.

This trait should only contain the comparison logic for a type if one plans on only implementing PartialOrd but not Ord. Otherwise the comparison logic should be in Ord and this trait implemented with Some(self.cmp(other)).

The methods of this trait must be consistent with each other and with those of PartialEq. The following conditions must hold:

  1. a == b if and only if partial_cmp(a, b) == Some(Equal).
  2. a < b if and only if partial_cmp(a, b) == Some(Less)
  3. a > b if and only if partial_cmp(a, b) == Some(Greater)
  4. a <= b if and only if a < b || a == b
  5. a >= b if and only if a > b || a == b
  6. 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 relations must satisfy the following conditions (for all a, b, c of type A, B, C):

  • Transitivity: if A: PartialOrd<B> and B: PartialOrd<C> and A: PartialOrd<C>, then a < b and b < c implies a < c. The same must hold for both == and >. This must also work for longer chains, such as when A: PartialOrd<B>, B: PartialOrd<C>, C: PartialOrd<D>, and A: PartialOrd<D> all exist.
  • Duality: if A: PartialOrd<B> and B: PartialOrd<A>, then a < b if and only if b > a.

Note that the B: PartialOrd<A> (dual) and A: PartialOrd<C> (transitive) impls are not forced to exist, but these requirements apply whenever they do exist.

Violating these requirements is a logic error. The behavior resulting from a logic error is not specified, but users of the trait must ensure that such logic errors do not result in undefined behavior. This means that unsafe code must not rely on the correctness of these methods.

ยงCross-crate considerations

Upholding the requirements stated above can become tricky when one crate implements PartialOrd for a type of another crate (i.e., to allow comparing one of its own types with a type from the standard library). The recommendation is to never implement this trait for a foreign type. In other words, such a crate should do impl PartialOrd<ForeignType> for LocalType, but it should not do impl PartialOrd<LocalType> for ForeignType.

This avoids the problem of transitive chains that criss-cross crate boundaries: for all local types T, you may assume that no other crate will add impls that allow comparing T < U. In other words, if other crates add impls that allow building longer transitive chains U1 < ... < T < V1 < ..., then all the types that appear to the right of T must be types that the crate defining T already knows about. This rules out transitive chains where downstream crates can add new impls that โ€œstitch togetherโ€ comparisons of foreign types in ways that violate transitivity.

Not having such foreign impls also avoids forward compatibility issues where one crate adding more PartialOrd implementations can cause build failures in downstream crates.

ยงCorollaries

The following corollaries follow from the above requirements:

  • irreflexivity of < and >: !(a < a), !(a > a)
  • transitivity of >: if a > b and b > c then a > c
  • duality of partial_cmp: partial_cmp(a, b) == partial_cmp(b, a).map(Ordering::reverse)

ยงStrict and non-strict partial orders

The < and > operators behave according to a strict partial order. However, <= and >= do not behave according to a non-strict partial order. That is because mathematically, a non-strict partial order would require reflexivity, i.e. a <= a would need to be true for every a. This isnโ€™t always the case for types that implement PartialOrd, for example:

let a = f64::sqrt(-1.0);
assert_eq!(a <= a, false);

ยงDerivable

This trait can be used with #[derive].

When derived on structs, it will produce a lexicographic ordering based on the top-to-bottom declaration order of the structโ€™s members.

When derived on enums, variants are primarily ordered by their discriminants. Secondarily, they are ordered by their fields. 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;

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
    }
}

impl Eq for Person {}

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 of incorrect PartialOrd implementations

use std::cmp::Ordering;

#[derive(PartialEq, Debug)]
struct Character {
    health: u32,
    experience: u32,
}

impl PartialOrd for Character {
    fn partial_cmp(&self, other: &Self) -> Option<Ordering> {
        Some(self.health.cmp(&other.health))
    }
}

let a = Character {
    health: 10,
    experience: 5,
};
let b = Character {
    health: 10,
    experience: 77,
};

// Mistake: `PartialEq` and `PartialOrd` disagree with each other.

assert_eq!(a.partial_cmp(&b).unwrap(), Ordering::Equal); // a == b according to `PartialOrd`.
assert_ne!(a, b); // a != b according to `PartialEq`.

ยงExamples

let x: u32 = 0;
let y: u32 = 1;

assert_eq!(x < y, true);
assert_eq!(x.lt(&y), true);

Required Methodsยง

1.0.0 ยท Source

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ยง

1.0.0 ยท Source

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator.

ยงExamples
assert_eq!(1.0 < 1.0, false);
assert_eq!(1.0 < 2.0, true);
assert_eq!(2.0 < 1.0, false);
1.0.0 ยท Source

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator.

ยงExamples
assert_eq!(1.0 <= 1.0, true);
assert_eq!(1.0 <= 2.0, true);
assert_eq!(2.0 <= 1.0, false);
1.0.0 ยท Source

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator.

ยงExamples
assert_eq!(1.0 > 1.0, false);
assert_eq!(1.0 > 2.0, false);
assert_eq!(2.0 > 1.0, true);
1.0.0 ยท Source

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator.

ยงExamples
assert_eq!(1.0 >= 1.0, true);
assert_eq!(1.0 >= 2.0, false);
assert_eq!(2.0 >= 1.0, true);

Implementorsยง

Sourceยง

impl PartialOrd for clang_sys::Version

Sourceยง

impl PartialOrd for LabelStyle

Sourceยง

impl PartialOrd for Severity

Sourceยง

impl PartialOrd for SectionId

Sourceยง

impl PartialOrd for ColumnType

Sourceยง

impl PartialOrd for ExtensionType

Sourceยง

impl PartialOrd for GeneralCategory

Sourceยง

impl PartialOrd for CheckedBidiPairedBracketType

Sourceยง

impl PartialOrd for LocaleFallbackPriority

Sourceยง

impl PartialOrd for LocaleFallbackSupplement

Sourceยง

impl PartialOrd for IpAddrRange

Sourceยง

impl PartialOrd for IpNet

Sourceยง

impl PartialOrd for IpSubnets

Sourceยง

impl PartialOrd for InsertError

Sourceยง

impl PartialOrd for PosixFadviseAdvice

Sourceยง

impl PartialOrd for PrctlMCEKillPolicy

Sourceยง

impl PartialOrd for SigmaskHow

Sourceยง

impl PartialOrd for Signal

Sourceยง

impl PartialOrd for BaudRate

Sourceยง

impl PartialOrd for FlowArg

Sourceยง

impl PartialOrd for FlushArg

Sourceยง

impl PartialOrd for SetArg

Sourceยง

impl PartialOrd for SpecialCharacterIndices

Sourceยง

impl PartialOrd for Utf8Sequence

Sourceยง

impl PartialOrd for Direction

Sourceยง

impl PartialOrd for QuoteError

Sourceยง

impl PartialOrd for zerocopy::byteorder::BigEndian

Sourceยง

impl PartialOrd for zerocopy::byteorder::LittleEndian

Sourceยง

impl PartialOrd for DiscoveredItem

Sourceยง

impl PartialOrd for EnumVariantValue

Sourceยง

impl PartialOrd for CanDerive

Sourceยง

impl PartialOrd for IntKind

Sourceยง

impl PartialOrd for FieldVisibilityKind

Sourceยง

impl PartialOrd for RustEdition

Sourceยง

impl PartialOrd for rustmax::byteorder::BigEndian

Sourceยง

impl PartialOrd for rustmax::byteorder::LittleEndian

Sourceยง

impl PartialOrd for Month

Sourceยง

impl PartialOrd for ValueSource

Sourceยง

impl PartialOrd for AnsiColor

Sourceยง

impl PartialOrd for Color

Sourceยง

impl PartialOrd for rustmax::jiff::Unit

Sourceยง

impl PartialOrd for Dst

Sourceยง

impl PartialOrd for rustmax::log::Level

Sourceยง

impl PartialOrd for rustmax::log::LevelFilter

Sourceยง

impl PartialOrd for Sign

Sourceยง

impl PartialOrd for AsciiChar

1.0.0 ยท Sourceยง

impl PartialOrd for Ordering

1.34.0 ยท Sourceยง

impl PartialOrd for Infallible

1.0.0 ยท Sourceยง

impl PartialOrd for ErrorKind

1.7.0 ยท Sourceยง

impl PartialOrd for IpAddr

1.0.0 ยท Sourceยง

impl PartialOrd for SocketAddr

Sourceยง

impl PartialOrd for rustmax::toml::value::Offset

1.0.0 ยท Sourceยง

impl PartialOrd for bool

1.0.0 ยท Sourceยง

impl PartialOrd for char

1.0.0 ยท Sourceยง

impl PartialOrd for f16

1.0.0 ยท Sourceยง

impl PartialOrd for f32

1.0.0 ยท Sourceยง

impl PartialOrd for f64

1.0.0 ยท Sourceยง

impl PartialOrd for f128

1.0.0 ยท Sourceยง

impl PartialOrd for i8

1.0.0 ยท Sourceยง

impl PartialOrd for i16

1.0.0 ยท Sourceยง

impl PartialOrd for i32

1.0.0 ยท Sourceยง

impl PartialOrd for i64

1.0.0 ยท Sourceยง

impl PartialOrd for i128

1.0.0 ยท Sourceยง

impl PartialOrd for isize

Sourceยง

impl PartialOrd for !

1.0.0 ยท Sourceยง

impl PartialOrd 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.

1.0.0 ยท Sourceยง

impl PartialOrd for u8

1.0.0 ยท Sourceยง

impl PartialOrd for u16

1.0.0 ยท Sourceยง

impl PartialOrd for u32

1.0.0 ยท Sourceยง

impl PartialOrd for u64

1.0.0 ยท Sourceยง

impl PartialOrd for u128

1.0.0 ยท Sourceยง

impl PartialOrd for ()

1.0.0 ยท Sourceยง

impl PartialOrd for usize

Sourceยง

impl PartialOrd for aho_corasick::util::primitives::PatternID

Sourceยง

impl PartialOrd for aho_corasick::util::primitives::StateID

Sourceยง

impl PartialOrd for bstr::bstr::BStr

Sourceยง

impl PartialOrd for BString

Sourceยง

impl PartialOrd for ArgCursor

Sourceยง

impl PartialOrd for Register

Sourceยง

impl PartialOrd for DwAccess

Sourceยง

impl PartialOrd for DwAddr

Sourceยง

impl PartialOrd for DwAt

Sourceยง

impl PartialOrd for DwAte

Sourceยง

impl PartialOrd for DwCc

Sourceยง

impl PartialOrd for DwCfa

Sourceยง

impl PartialOrd for DwChildren

Sourceยง

impl PartialOrd for DwDefaulted

Sourceยง

impl PartialOrd for DwDs

Sourceยง

impl PartialOrd for DwDsc

Sourceยง

impl PartialOrd for DwEhPe

Sourceยง

impl PartialOrd for DwEnd

Sourceยง

impl PartialOrd for DwForm

Sourceยง

impl PartialOrd for DwId

Sourceยง

impl PartialOrd for DwIdx

Sourceยง

impl PartialOrd for DwInl

Sourceยง

impl PartialOrd for DwLang

Sourceยง

impl PartialOrd for DwLle

Sourceยง

impl PartialOrd for DwLnct

Sourceยง

impl PartialOrd for DwLne

Sourceยง

impl PartialOrd for DwLns

Sourceยง

impl PartialOrd for DwMacro

Sourceยง

impl PartialOrd for DwOp

Sourceยง

impl PartialOrd for DwOrd

Sourceยง

impl PartialOrd for DwRle

Sourceยง

impl PartialOrd for DwSect

Sourceยง

impl PartialOrd for DwSectV2

Sourceยง

impl PartialOrd for DwTag

Sourceยง

impl PartialOrd for DwUt

Sourceยง

impl PartialOrd for DwVirtuality

Sourceยง

impl PartialOrd for DwVis

Sourceยง

impl PartialOrd for ArangeEntry

Sourceยง

impl PartialOrd for Range

Sourceยง

impl PartialOrd for MatchOptions

Sourceยง

impl PartialOrd for Pattern

Sourceยง

impl PartialOrd for HttpDate

Sourceยง

impl PartialOrd for Other

Sourceยง

impl PartialOrd for icu_locid::extensions::other::subtag::Subtag

Sourceยง

impl PartialOrd for icu_locid::extensions::private::other::Subtag

Sourceยง

impl PartialOrd for Private

Sourceยง

impl PartialOrd for Fields

Sourceยง

impl PartialOrd for icu_locid::extensions::transform::key::Key

Sourceยง

impl PartialOrd for icu_locid::extensions::transform::value::Value

Sourceยง

impl PartialOrd for Attribute

Sourceยง

impl PartialOrd for Attributes

Sourceยง

impl PartialOrd for icu_locid::extensions::unicode::key::Key

Sourceยง

impl PartialOrd for Keywords

Sourceยง

impl PartialOrd for Unicode

Sourceยง

impl PartialOrd for icu_locid::extensions::unicode::value::Value

Sourceยง

impl PartialOrd for Language

Sourceยง

impl PartialOrd for Region

Sourceยง

impl PartialOrd for icu_locid::subtags::script::Script

Sourceยง

impl PartialOrd for Variant

Sourceยง

impl PartialOrd for Variants

Sourceยง

impl PartialOrd for LanguageStrStrPairVarULE

Sourceยง

impl PartialOrd for StrStrPairVarULE

Sourceยง

impl PartialOrd for BidiClass

Sourceยง

impl PartialOrd for CanonicalCombiningClass

Sourceยง

impl PartialOrd for EastAsianWidth

Sourceยง

impl PartialOrd for GraphemeClusterBreak

Sourceยง

impl PartialOrd for HangulSyllableType

Sourceยง

impl PartialOrd for IndicSyllabicCategory

Sourceยง

impl PartialOrd for JoiningType

Sourceยง

impl PartialOrd for LineBreak

Sourceยง

impl PartialOrd for icu_properties::props::Script

Sourceยง

impl PartialOrd for SentenceBreak

Sourceยง

impl PartialOrd for WordBreak

Sourceยง

impl PartialOrd for CheckedBidiPairedBracketTypeULE

Sourceยง

impl PartialOrd for NormalizedPropertyNameStr

The Ord/PartialOrd impl will sort things using strict equality, but in such a way that all loose-equal items will sort into the same area, such that a map can be searched for both strict and loose equality.

Sourceยง

impl PartialOrd for DataKey

Sourceยง

impl PartialOrd for DataKeyHash

Sourceยง

impl PartialOrd for DataKeyMetadata

Sourceยง

impl PartialOrd for DataKeyPath

Sourceยง

impl PartialOrd for DataRequestMetadata

Sourceยง

impl PartialOrd for Ipv4AddrRange

Sourceยง

impl PartialOrd for Ipv6AddrRange

Sourceยง

impl PartialOrd for Ipv4Net

Sourceยง

impl PartialOrd for Ipv4Subnets

Sourceยง

impl PartialOrd for Ipv6Net

Sourceยง

impl PartialOrd for Ipv6Subnets

Sourceยง

impl PartialOrd for Interest

Sourceยง

impl PartialOrd for Token

Sourceยง

impl PartialOrd for AtFlags

Sourceยง

impl PartialOrd for FallocateFlags

Sourceยง

impl PartialOrd for FdFlag

Sourceยง

impl PartialOrd for OFlag

Sourceยง

impl PartialOrd for RenameFlags

Sourceยง

impl PartialOrd for ResolveFlag

Sourceยง

impl PartialOrd for SealFlag

Sourceยง

impl PartialOrd for PollFlags

Sourceยง

impl PartialOrd for PollTimeout

Sourceยง

impl PartialOrd for MemFdCreateFlag

Sourceยง

impl PartialOrd for SaFlags

Sourceยง

impl PartialOrd for SfdFlags

Sourceยง

impl PartialOrd for Mode

Sourceยง

impl PartialOrd for SFlag

Sourceยง

impl PartialOrd for FsFlags

Sourceยง

impl PartialOrd for ControlFlags

Sourceยง

impl PartialOrd for InputFlags

Sourceยง

impl PartialOrd for LocalFlags

Sourceยง

impl PartialOrd for OutputFlags

Sourceยง

impl PartialOrd for TimeSpec

Sourceยง

impl PartialOrd for TimeVal

Sourceยง

impl PartialOrd for WaitPidFlag

Sourceยง

impl PartialOrd for AccessFlags

Sourceยง

impl PartialOrd for Pid

Sourceยง

impl PartialOrd for Asn1Integer

Sourceยง

impl PartialOrd for Asn1IntegerRef

Sourceยง

impl PartialOrd for Asn1Time

Sourceยง

impl PartialOrd for Asn1TimeRef

Sourceยง

impl PartialOrd for BigNum

Sourceยง

impl PartialOrd for BigNumRef

Sourceยง

impl PartialOrd for CMSOptions

Sourceยง

impl PartialOrd for OcspFlag

Sourceยง

impl PartialOrd for Pkcs7Flags

Sourceยง

impl PartialOrd for ExtensionContext

Sourceยง

impl PartialOrd for ShutdownState

Sourceยง

impl PartialOrd for SslMode

Sourceยง

impl PartialOrd for SslOptions

Sourceยง

impl PartialOrd for SslSessionCacheMode

Sourceยง

impl PartialOrd for SslVerifyMode

Sourceยง

impl PartialOrd for X509

Sourceยง

impl PartialOrd for X509Ref

Sourceยง

impl PartialOrd for X509CheckFlags

Sourceยง

impl PartialOrd for X509VerifyFlags

Sourceยง

impl PartialOrd for LazyStateID

Sourceยง

impl PartialOrd for regex_automata::util::alphabet::Unit

Sourceยง

impl PartialOrd for NonMaxUsize

Sourceยง

impl PartialOrd for regex_automata::util::primitives::PatternID

Sourceยง

impl PartialOrd for SmallIndex

Sourceยง

impl PartialOrd for regex_automata::util::primitives::StateID

Sourceยง

impl PartialOrd for regex_syntax::ast::Position

Sourceยง

impl PartialOrd for Span

Sourceยง

impl PartialOrd for Literal

Sourceยง

impl PartialOrd for ClassBytesRange

Sourceยง

impl PartialOrd for ClassUnicodeRange

Sourceยง

impl PartialOrd for Utf8Range

Sourceยง

impl PartialOrd for Opcode

Sourceยง

impl PartialOrd for UnixTime

Sourceยง

impl PartialOrd for SigId

Sourceยง

impl PartialOrd for AnyDelimiterCodec

Sourceยง

impl PartialOrd for BytesCodec

Sourceยง

impl PartialOrd for LinesCodec

Sourceยง

impl PartialOrd for InternalString

Sourceยง

impl PartialOrd for toml_edit::key::Key

Sourceยง

impl PartialOrd for tracing_core::metadata::Level

Sourceยง

impl PartialOrd for tracing_core::metadata::LevelFilter

Sourceยง

impl PartialOrd for UnicodeVersion

Sourceยง

impl PartialOrd for winnow::stream::BStr

Sourceยง

impl PartialOrd for winnow::stream::Bytes

Sourceยง

impl PartialOrd for CharULE

Sourceยง

impl PartialOrd for UnvalidatedChar

Sourceยง

impl PartialOrd for UnvalidatedStr

Sourceยง

impl PartialOrd for Index16

Sourceยง

impl PartialOrd for Index32

Sourceยง

impl PartialOrd for DiscoveredItemId

Sourceยง

impl PartialOrd for CodegenConfig

Sourceยง

impl PartialOrd for RustTarget

Sourceยง

impl PartialOrd for BytesMut

Sourceยง

impl PartialOrd for NaiveDateDaysIterator

Sourceยง

impl PartialOrd for NaiveDateWeeksIterator

Sourceยง

impl PartialOrd for Days

Sourceยง

impl PartialOrd for IsoWeek

Sourceยง

impl PartialOrd for Months

Sourceยง

impl PartialOrd for NaiveDate

Sourceยง

impl PartialOrd for NaiveDateTime

Sourceยง

impl PartialOrd for NaiveTime

Sourceยง

impl PartialOrd for TimeDelta

Sourceยง

impl PartialOrd for rustmax::clap::builder::OsStr

Sourceยง

impl PartialOrd for Str

Sourceยง

impl PartialOrd for StyledStr

Sourceยง

impl PartialOrd for Arg

Sourceยง

impl PartialOrd for Id

Sourceยง

impl PartialOrd for CxxString

Sourceยง

impl PartialOrd for Ansi256Color

Sourceยง

impl PartialOrd for Effects

Sourceยง

impl PartialOrd for Reset

Sourceยง

impl PartialOrd for RgbColor

Sourceยง

impl PartialOrd for Style

Sourceยง

impl PartialOrd for rustmax::hyper::body::Bytes

Sourceยง

impl PartialOrd for ReasonPhrase

Sourceยง

impl PartialOrd for Authority

Case-insensitive ordering

ยงExamples

let authority: Authority = "DEF.com".parse().unwrap();
assert!(authority < "ghi.com");
assert!(authority > "abc.com");
Sourceยง

impl PartialOrd for PathAndQuery

Sourceยง

impl PartialOrd for rustmax::jiff::civil::Date

Sourceยง

impl PartialOrd for rustmax::jiff::civil::DateTime

Sourceยง

impl PartialOrd for ISOWeekDate

Sourceยง

impl PartialOrd for rustmax::jiff::civil::Time

Sourceยง

impl PartialOrd for SignedDuration

Sourceยง

impl PartialOrd for Timestamp

Sourceยง

impl PartialOrd for Zoned

Sourceยง

impl PartialOrd for rustmax::jiff::tz::Offset

Sourceยง

impl PartialOrd for Mime

Sourceยง

impl PartialOrd for BigInt

Sourceยง

impl PartialOrd for BigUint

Sourceยง

impl PartialOrd for LineColumn

Sourceยง

impl PartialOrd for StringParam

Sourceยง

impl PartialOrd for PersistedSeed

Sourceยง

impl PartialOrd for Reason

Sourceยง

impl PartialOrd for HeaderValue

Sourceยง

impl PartialOrd for StatusCode

Sourceยง

impl PartialOrd for rustmax::reqwest::Version

Sourceยง

impl PartialOrd for rustmax::reqwest::tls::Version

Sourceยง

impl PartialOrd for BuildMetadata

Sourceยง

impl PartialOrd for Prerelease

Sourceยง

impl PartialOrd for rustmax::semver::Version

Sourceยง

impl PartialOrd for ATerm

Sourceยง

impl PartialOrd for B0

Sourceยง

impl PartialOrd for B1

Sourceยง

impl PartialOrd for Equal

Sourceยง

impl PartialOrd for Greater

Sourceยง

impl PartialOrd for Less

Sourceยง

impl PartialOrd for UTerm

Sourceยง

impl PartialOrd for Z0

1.0.0 ยท Sourceยง

impl PartialOrd for TypeId

1.27.0 ยท Sourceยง

impl PartialOrd for CpuidResult

1.0.0 ยท Sourceยง

impl PartialOrd for CStr

1.64.0 ยท Sourceยง

impl PartialOrd for CString

1.0.0 ยท Sourceยง

impl PartialOrd for rustmax::std::ffi::OsStr

1.0.0 ยท Sourceยง

impl PartialOrd for OsString

1.0.0 ยท Sourceยง

impl PartialOrd for Error

1.33.0 ยท Sourceยง

impl PartialOrd for PhantomPinned

1.0.0 ยท Sourceยง

impl PartialOrd for Ipv4Addr

1.0.0 ยท Sourceยง

impl PartialOrd for Ipv6Addr

1.0.0 ยท Sourceยง

impl PartialOrd for SocketAddrV4

1.0.0 ยท Sourceยง

impl PartialOrd for SocketAddrV6

1.0.0 ยท Sourceยง

impl PartialOrd for Path

1.0.0 ยท Sourceยง

impl PartialOrd for PathBuf

Sourceยง

impl PartialOrd for Alignment

1.0.0 ยท Sourceยง

impl PartialOrd for String

1.3.0 ยท Sourceยง

impl PartialOrd for Duration

1.8.0 ยท Sourceยง

impl PartialOrd for rustmax::std::time::Instant

1.8.0 ยท Sourceยง

impl PartialOrd for SystemTime

Sourceยง

impl PartialOrd for Ident

Sourceยง

impl PartialOrd for Lifetime

Sourceยง

impl PartialOrd for Ready

Sourceยง

impl PartialOrd for rustmax::tokio::time::Instant

Sourceยง

impl PartialOrd for rustmax::toml::value::Date

Sourceยง

impl PartialOrd for Datetime

Sourceยง

impl PartialOrd for rustmax::toml::value::Time

Sourceยง

impl PartialOrd for Cost

Sourceยง

impl PartialOrd for Count

Sourceยง

impl PartialOrd for Url

URLs compare like their serialization.

Sourceยง

impl PartialOrd<Level> for rustmax::log::LevelFilter

Sourceยง

impl PartialOrd<LevelFilter> for rustmax::log::Level

1.16.0 ยท Sourceยง

impl PartialOrd<IpAddr> for Ipv4Addr

1.16.0 ยท Sourceยง

impl PartialOrd<IpAddr> for Ipv6Addr

Sourceยง

impl PartialOrd<str> for BytesMut

Sourceยง

impl PartialOrd<str> for rustmax::hyper::body::Bytes

Sourceยง

impl PartialOrd<str> for Authority

Sourceยง

impl PartialOrd<str> for PathAndQuery

Sourceยง

impl PartialOrd<str> for HeaderValue

1.0.0 ยท Sourceยง

impl PartialOrd<str> for rustmax::std::ffi::OsStr

1.0.0 ยท Sourceยง

impl PartialOrd<str> for OsString

Sourceยง

impl PartialOrd<Asn1Time> for &Asn1TimeRef

Sourceยง

impl PartialOrd<Asn1Time> for Asn1TimeRef

Sourceยง

impl PartialOrd<Asn1TimeRef> for Asn1Time

Sourceยง

impl PartialOrd<BigNum> for BigNumRef

Sourceยง

impl PartialOrd<BigNumRef> for BigNum

Sourceยง

impl PartialOrd<X509> for X509Ref

Sourceยง

impl PartialOrd<X509Ref> for X509

Sourceยง

impl PartialOrd<Level> for tracing_core::metadata::LevelFilter

Sourceยง

impl PartialOrd<LevelFilter> for tracing_core::metadata::Level

Sourceยง

impl PartialOrd<BytesMut> for &str

Sourceยง

impl PartialOrd<BytesMut> for &[u8]

Sourceยง

impl PartialOrd<BytesMut> for str

Sourceยง

impl PartialOrd<BytesMut> for String

Sourceยง

impl PartialOrd<BytesMut> for Vec<u8>

Sourceยง

impl PartialOrd<BytesMut> for [u8]

Sourceยง

impl PartialOrd<Bytes> for &str

Sourceยง

impl PartialOrd<Bytes> for &[u8]

Sourceยง

impl PartialOrd<Bytes> for str

Sourceยง

impl PartialOrd<Bytes> for String

Sourceยง

impl PartialOrd<Bytes> for Vec<u8>

Sourceยง

impl PartialOrd<Bytes> for [u8]

Sourceยง

impl PartialOrd<Authority> for str

Sourceยง

impl PartialOrd<Authority> for String

Sourceยง

impl PartialOrd<PathAndQuery> for str

Sourceยง

impl PartialOrd<PathAndQuery> for String

Sourceยง

impl PartialOrd<HeaderValue> for str

Sourceยง

impl PartialOrd<HeaderValue> for String

Sourceยง

impl PartialOrd<HeaderValue> for [u8]

1.8.0 ยท Sourceยง

impl PartialOrd<OsStr> for Path

1.8.0 ยท Sourceยง

impl PartialOrd<OsStr> for PathBuf

1.8.0 ยท Sourceยง

impl PartialOrd<OsString> for Path

1.8.0 ยท Sourceยง

impl PartialOrd<OsString> for PathBuf

1.16.0 ยท Sourceยง

impl PartialOrd<Ipv4Addr> for IpAddr

1.16.0 ยท Sourceยง

impl PartialOrd<Ipv6Addr> for IpAddr

1.8.0 ยท Sourceยง

impl PartialOrd<Path> for rustmax::std::ffi::OsStr

1.8.0 ยท Sourceยง

impl PartialOrd<Path> for OsString

1.8.0 ยท Sourceยง

impl PartialOrd<Path> for PathBuf

1.8.0 ยท Sourceยง

impl PartialOrd<PathBuf> for rustmax::std::ffi::OsStr

1.8.0 ยท Sourceยง

impl PartialOrd<PathBuf> for OsString

1.8.0 ยท Sourceยง

impl PartialOrd<PathBuf> for Path

Sourceยง

impl PartialOrd<String> for BytesMut

Sourceยง

impl PartialOrd<String> for rustmax::hyper::body::Bytes

Sourceยง

impl PartialOrd<String> for Authority

Sourceยง

impl PartialOrd<String> for PathAndQuery

Sourceยง

impl PartialOrd<String> for HeaderValue

Sourceยง

impl PartialOrd<Vec<u8>> for BytesMut

Sourceยง

impl PartialOrd<Vec<u8>> for rustmax::hyper::body::Bytes

Sourceยง

impl PartialOrd<[u8]> for BytesMut

Sourceยง

impl PartialOrd<[u8]> for rustmax::hyper::body::Bytes

Sourceยง

impl PartialOrd<[u8]> for HeaderValue

Sourceยง

impl<'a> PartialOrd for FlexZeroVec<'a>

1.0.0 ยท Sourceยง

impl<'a> PartialOrd for Component<'a>

1.0.0 ยท Sourceยง

impl<'a> PartialOrd for Prefix<'a>

Sourceยง

impl<'a> PartialOrd for LanguageStrStrPair<'a>

Sourceยง

impl<'a> PartialOrd for StrStrPair<'a>

Sourceยง

impl<'a> PartialOrd for Metadata<'a>

Sourceยง

impl<'a> PartialOrd for MetadataBuilder<'a>

Sourceยง

impl<'a> PartialOrd for Name<'a>

1.10.0 ยท Sourceยง

impl<'a> PartialOrd for Location<'a>

1.0.0 ยท Sourceยง

impl<'a> PartialOrd for Components<'a>

1.0.0 ยท Sourceยง

impl<'a> PartialOrd for PrefixComponent<'a>

Sourceยง

impl<'a> PartialOrd for Cursor<'a>

Sourceยง

impl<'a> PartialOrd<&'a str> for winnow::stream::BStr

Sourceยง

impl<'a> PartialOrd<&'a str> for winnow::stream::Bytes

Sourceยง

impl<'a> PartialOrd<&'a str> for Authority

Sourceยง

impl<'a> PartialOrd<&'a str> for PathAndQuery

Sourceยง

impl<'a> PartialOrd<&'a Asn1TimeRef> for Asn1Time

1.8.0 ยท Sourceยง

impl<'a> PartialOrd<&'a OsStr> for Path

1.8.0 ยท Sourceยง

impl<'a> PartialOrd<&'a OsStr> for PathBuf

1.8.0 ยท Sourceยง

impl<'a> PartialOrd<&'a Path> for rustmax::std::ffi::OsStr

1.8.0 ยท Sourceยง

impl<'a> PartialOrd<&'a Path> for OsString

1.8.0 ยท Sourceยง

impl<'a> PartialOrd<&'a Path> for PathBuf

Sourceยง

impl<'a> PartialOrd<&'a [u8]> for winnow::stream::BStr

Sourceยง

impl<'a> PartialOrd<&'a [u8]> for winnow::stream::Bytes

1.8.0 ยท Sourceยง

impl<'a> PartialOrd<Cow<'a, OsStr>> for Path

1.8.0 ยท Sourceยง

impl<'a> PartialOrd<Cow<'a, OsStr>> for PathBuf

1.8.0 ยท Sourceยง

impl<'a> PartialOrd<Cow<'a, Path>> for rustmax::std::ffi::OsStr

1.8.0 ยท Sourceยง

impl<'a> PartialOrd<Cow<'a, Path>> for OsString

1.8.0 ยท Sourceยง

impl<'a> PartialOrd<Cow<'a, Path>> for Path

1.8.0 ยท Sourceยง

impl<'a> PartialOrd<Cow<'a, Path>> for PathBuf

Sourceยง

impl<'a> PartialOrd<str> for winnow::stream::BStr

Sourceยง

impl<'a> PartialOrd<str> for winnow::stream::Bytes

Sourceยง

impl<'a> PartialOrd<BStr> for &'a str

Sourceยง

impl<'a> PartialOrd<BStr> for &'a [u8]

Sourceยง

impl<'a> PartialOrd<BStr> for str

Sourceยง

impl<'a> PartialOrd<BStr> for [u8]

Sourceยง

impl<'a> PartialOrd<Bytes> for &'a str

Sourceยง

impl<'a> PartialOrd<Bytes> for &'a [u8]

Sourceยง

impl<'a> PartialOrd<Bytes> for str

Sourceยง

impl<'a> PartialOrd<Bytes> for [u8]

Sourceยง

impl<'a> PartialOrd<Authority> for &'a str

Sourceยง

impl<'a> PartialOrd<PathAndQuery> for &'a str

Sourceยง

impl<'a> PartialOrd<Zoned> for &'a Zoned

Sourceยง

impl<'a> PartialOrd<HeaderValue> for &'a str

Sourceยง

impl<'a> PartialOrd<HeaderValue> for &'a HeaderValue

1.8.0 ยท Sourceยง

impl<'a> PartialOrd<OsStr> for &'a Path

1.8.0 ยท Sourceยง

impl<'a> PartialOrd<OsStr> for Cow<'a, Path>

1.8.0 ยท Sourceยง

impl<'a> PartialOrd<OsString> for &'a Path

1.8.0 ยท Sourceยง

impl<'a> PartialOrd<OsString> for Cow<'a, Path>

1.8.0 ยท Sourceยง

impl<'a> PartialOrd<Path> for &'a rustmax::std::ffi::OsStr

1.8.0 ยท Sourceยง

impl<'a> PartialOrd<Path> for Cow<'a, OsStr>

1.8.0 ยท Sourceยง

impl<'a> PartialOrd<Path> for Cow<'a, Path>

1.8.0 ยท Sourceยง

impl<'a> PartialOrd<PathBuf> for &'a rustmax::std::ffi::OsStr

1.8.0 ยท Sourceยง

impl<'a> PartialOrd<PathBuf> for &'a Path

1.8.0 ยท Sourceยง

impl<'a> PartialOrd<PathBuf> for Cow<'a, OsStr>

1.8.0 ยท Sourceยง

impl<'a> PartialOrd<PathBuf> for Cow<'a, Path>

Sourceยง

impl<'a> PartialOrd<[u8]> for winnow::stream::BStr

Sourceยง

impl<'a> PartialOrd<[u8]> for winnow::stream::Bytes

Sourceยง

impl<'a, 'b> PartialOrd<&'a str> for bstr::bstr::BStr

Sourceยง

impl<'a, 'b> PartialOrd<&'a str> for BString

Sourceยง

impl<'a, 'b> PartialOrd<&'a BStr> for BString

Sourceยง

impl<'a, 'b> PartialOrd<&'a BStr> for String

Sourceยง

impl<'a, 'b> PartialOrd<&'a BStr> for Vec<u8>

1.8.0 ยท Sourceยง

impl<'a, 'b> PartialOrd<&'a OsStr> for OsString

1.8.0 ยท Sourceยง

impl<'a, 'b> PartialOrd<&'a Path> for Cow<'b, OsStr>

Sourceยง

impl<'a, 'b> PartialOrd<&'a [u8]> for bstr::bstr::BStr

Sourceยง

impl<'a, 'b> PartialOrd<&'a [u8]> for BString

1.8.0 ยท Sourceยง

impl<'a, 'b> PartialOrd<&'b OsStr> for Cow<'a, OsStr>

1.8.0 ยท Sourceยง

impl<'a, 'b> PartialOrd<&'b OsStr> for Cow<'a, Path>

1.8.0 ยท Sourceยง

impl<'a, 'b> PartialOrd<&'b Path> for Cow<'a, Path>

1.8.0 ยท Sourceยง

impl<'a, 'b> PartialOrd<Cow<'a, OsStr>> for &'b rustmax::std::ffi::OsStr

1.8.0 ยท Sourceยง

impl<'a, 'b> PartialOrd<Cow<'a, OsStr>> for rustmax::std::ffi::OsStr

1.8.0 ยท Sourceยง

impl<'a, 'b> PartialOrd<Cow<'a, OsStr>> for OsString

1.8.0 ยท Sourceยง

impl<'a, 'b> PartialOrd<Cow<'a, Path>> for &'b rustmax::std::ffi::OsStr

1.8.0 ยท Sourceยง

impl<'a, 'b> PartialOrd<Cow<'a, Path>> for &'b Path

1.8.0 ยท Sourceยง

impl<'a, 'b> PartialOrd<Cow<'b, OsStr>> for &'a Path

Sourceยง

impl<'a, 'b> PartialOrd<str> for bstr::bstr::BStr

Sourceยง

impl<'a, 'b> PartialOrd<str> for BString

Sourceยง

impl<'a, 'b> PartialOrd<BStr> for &'a str

Sourceยง

impl<'a, 'b> PartialOrd<BStr> for &'a [u8]

Sourceยง

impl<'a, 'b> PartialOrd<BStr> for str

Sourceยง

impl<'a, 'b> PartialOrd<BStr> for BString

Sourceยง

impl<'a, 'b> PartialOrd<BStr> for String

Sourceยง

impl<'a, 'b> PartialOrd<BStr> for Vec<u8>

Sourceยง

impl<'a, 'b> PartialOrd<BStr> for [u8]

Sourceยง

impl<'a, 'b> PartialOrd<BString> for &'a str

Sourceยง

impl<'a, 'b> PartialOrd<BString> for &'a bstr::bstr::BStr

Sourceยง

impl<'a, 'b> PartialOrd<BString> for &'a [u8]

Sourceยง

impl<'a, 'b> PartialOrd<BString> for str

Sourceยง

impl<'a, 'b> PartialOrd<BString> for bstr::bstr::BStr

Sourceยง

impl<'a, 'b> PartialOrd<BString> for String

Sourceยง

impl<'a, 'b> PartialOrd<BString> for Vec<u8>

Sourceยง

impl<'a, 'b> PartialOrd<BString> for [u8]

1.8.0 ยท Sourceยง

impl<'a, 'b> PartialOrd<OsStr> for Cow<'a, OsStr>

1.8.0 ยท Sourceยง

impl<'a, 'b> PartialOrd<OsStr> for OsString

1.8.0 ยท Sourceยง

impl<'a, 'b> PartialOrd<OsString> for &'a rustmax::std::ffi::OsStr

1.8.0 ยท Sourceยง

impl<'a, 'b> PartialOrd<OsString> for Cow<'a, OsStr>

1.8.0 ยท Sourceยง

impl<'a, 'b> PartialOrd<OsString> for rustmax::std::ffi::OsStr

Sourceยง

impl<'a, 'b> PartialOrd<String> for &'a bstr::bstr::BStr

Sourceยง

impl<'a, 'b> PartialOrd<String> for bstr::bstr::BStr

Sourceยง

impl<'a, 'b> PartialOrd<String> for BString

Sourceยง

impl<'a, 'b> PartialOrd<Vec<u8>> for &'a bstr::bstr::BStr

Sourceยง

impl<'a, 'b> PartialOrd<Vec<u8>> for bstr::bstr::BStr

Sourceยง

impl<'a, 'b> PartialOrd<Vec<u8>> for BString

Sourceยง

impl<'a, 'b> PartialOrd<[u8]> for bstr::bstr::BStr

Sourceยง

impl<'a, 'b> PartialOrd<[u8]> for BString

Sourceยง

impl<'a, 'b, const N: usize> PartialOrd<&'a [u8; N]> for bstr::bstr::BStr

Sourceยง

impl<'a, 'b, const N: usize> PartialOrd<&'a [u8; N]> for BString

Sourceยง

impl<'a, 'b, const N: usize> PartialOrd<BStr> for &'a [u8; N]

Sourceยง

impl<'a, 'b, const N: usize> PartialOrd<BStr> for [u8; N]

Sourceยง

impl<'a, 'b, const N: usize> PartialOrd<BString> for &'a [u8; N]

Sourceยง

impl<'a, 'b, const N: usize> PartialOrd<BString> for [u8; N]

Sourceยง

impl<'a, 'b, const N: usize> PartialOrd<[u8; N]> for bstr::bstr::BStr

Sourceยง

impl<'a, 'b, const N: usize> PartialOrd<[u8; N]> for BString

1.0.0 ยท Sourceยง

impl<'a, B> PartialOrd for Cow<'a, B>
where B: PartialOrd + ToOwned + ?Sized,

Sourceยง

impl<'a, T> PartialOrd for ZeroVec<'a, T>
where T: AsULE + PartialOrd,

Sourceยง

impl<'a, T> PartialOrd<&'a T> for BytesMut
where BytesMut: PartialOrd<T>, T: ?Sized,

Sourceยง

impl<'a, T> PartialOrd<&'a T> for rustmax::hyper::body::Bytes
where Bytes: PartialOrd<T>, T: ?Sized,

Sourceยง

impl<'a, T> PartialOrd<&'a T> for HeaderValue
where HeaderValue: PartialOrd<T>, T: ?Sized,

Sourceยง

impl<'a, T, F> PartialOrd for VarZeroVec<'a, T, F>

Sourceยง

impl<'d> PartialOrd for TimeZoneName<'d>

Sourceยง

impl<'g, T> PartialOrd for Shared<'g, T>
where T: Pointable + ?Sized,

Sourceยง

impl<'i> PartialOrd for pest::position::Position<'i>

Sourceยง

impl<'k> PartialOrd for KeyMut<'k>

Sourceยง

impl<'k, 'v> PartialOrd for Params<'k, 'v>

Sourceยง

impl<'s> PartialOrd for ParsedArg<'s>

Sourceยง

impl<A> PartialOrd for SmallVec<A>
where A: Array, <A as Array>::Item: PartialOrd,

Sourceยง

impl<A, B> PartialOrd for Tuple2ULE<A, B>
where A: PartialOrd + ULE, B: PartialOrd + ULE,

1.0.0 ยท Sourceยง

impl<A, B> PartialOrd<&B> for &A
where A: PartialOrd<B> + ?Sized, B: ?Sized,

1.0.0 ยท Sourceยง

impl<A, B> PartialOrd<&mut B> for &mut A
where A: PartialOrd<B> + ?Sized, B: ?Sized,

Sourceยง

impl<A, B, C> PartialOrd for Tuple3ULE<A, B, C>
where A: PartialOrd + ULE, B: PartialOrd + ULE, C: PartialOrd + ULE,

Sourceยง

impl<A, B, C, D> PartialOrd for Tuple4ULE<A, B, C, D>
where A: PartialOrd + ULE, B: PartialOrd + ULE, C: PartialOrd + ULE, D: PartialOrd + ULE,

Sourceยง

impl<A, B, C, D, E> PartialOrd for Tuple5ULE<A, B, C, D, E>
where A: PartialOrd + ULE, B: PartialOrd + ULE, C: PartialOrd + ULE, D: PartialOrd + ULE, E: PartialOrd + ULE,

Sourceยง

impl<A, B, C, D, E, F> PartialOrd for Tuple6ULE<A, B, C, D, E, F>
where A: PartialOrd + ULE, B: PartialOrd + ULE, C: PartialOrd + ULE, D: PartialOrd + ULE, E: PartialOrd + ULE, F: PartialOrd + ULE,

Sourceยง

impl<B> PartialOrd for BitSet<B>
where B: BitBlock,

Sourceยง

impl<B> PartialOrd for BitVec<B>
where B: BitBlock,

Sourceยง

impl<Dyn> PartialOrd for DynMetadata<Dyn>
where Dyn: ?Sized,

Sourceยง

impl<E> PartialOrd for I16Bytes<E>
where E: PartialOrd + Endian,

Sourceยง

impl<E> PartialOrd for I32Bytes<E>
where E: PartialOrd + Endian,

Sourceยง

impl<E> PartialOrd for I64Bytes<E>
where E: PartialOrd + Endian,

Sourceยง

impl<E> PartialOrd for U16Bytes<E>
where E: PartialOrd + Endian,

Sourceยง

impl<E> PartialOrd for U32Bytes<E>
where E: PartialOrd + Endian,

Sourceยง

impl<E> PartialOrd for U64Bytes<E>
where E: PartialOrd + Endian,

1.4.0 ยท Sourceยง

impl<F> PartialOrd for F
where F: FnPtr,

Sourceยง

impl<I> PartialOrd for Located<I>
where I: PartialOrd,

Sourceยง

impl<I> PartialOrd for Partial<I>
where I: PartialOrd,

Sourceยง

impl<K, V> PartialOrd for indexmap::map::slice::Slice<K, V>
where K: PartialOrd, V: PartialOrd,

1.0.0 ยท Sourceยง

impl<K, V, A> PartialOrd for BTreeMap<K, V, A>
where K: PartialOrd, V: PartialOrd, A: Allocator + Clone,

Sourceยง

impl<K, V, S> PartialOrd for LiteMap<K, V, S>
where K: PartialOrd + ?Sized, V: PartialOrd + ?Sized, S: PartialOrd,

Sourceยง

impl<L, R> PartialOrd for Either<L, R>
where L: PartialOrd, R: PartialOrd,

Sourceยง

impl<O> PartialOrd for F32<O>
where O: ByteOrder,

Sourceยง

impl<O> PartialOrd for F64<O>
where O: ByteOrder,

Sourceยง

impl<O> PartialOrd for I16<O>
where O: ByteOrder,

Sourceยง

impl<O> PartialOrd for I32<O>
where O: ByteOrder,

Sourceยง

impl<O> PartialOrd for I64<O>
where O: ByteOrder,

Sourceยง

impl<O> PartialOrd for I128<O>
where O: ByteOrder,

Sourceยง

impl<O> PartialOrd for Isize<O>
where O: ByteOrder,

Sourceยง

impl<O> PartialOrd for U16<O>
where O: ByteOrder,

Sourceยง

impl<O> PartialOrd for U32<O>
where O: ByteOrder,

Sourceยง

impl<O> PartialOrd for U64<O>
where O: ByteOrder,

Sourceยง

impl<O> PartialOrd for U128<O>
where O: ByteOrder,

Sourceยง

impl<O> PartialOrd for Usize<O>
where O: ByteOrder,

Sourceยง

impl<O> PartialOrd<i16> for I16<O>
where O: ByteOrder,

Sourceยง

impl<O> PartialOrd<i32> for I32<O>
where O: ByteOrder,

Sourceยง

impl<O> PartialOrd<i64> for I64<O>
where O: ByteOrder,

Sourceยง

impl<O> PartialOrd<i128> for I128<O>
where O: ByteOrder,

Sourceยง

impl<O> PartialOrd<isize> for Isize<O>
where O: ByteOrder,

Sourceยง

impl<O> PartialOrd<u16> for U16<O>
where O: ByteOrder,

Sourceยง

impl<O> PartialOrd<u32> for U32<O>
where O: ByteOrder,

Sourceยง

impl<O> PartialOrd<u64> for U64<O>
where O: ByteOrder,

Sourceยง

impl<O> PartialOrd<u128> for U128<O>
where O: ByteOrder,

Sourceยง

impl<O> PartialOrd<usize> for Usize<O>
where O: ByteOrder,

1.41.0 ยท Sourceยง

impl<Ptr, Q> PartialOrd<Pin<Q>> for Pin<Ptr>
where Ptr: Deref, Q: Deref, <Ptr as Deref>::Target: PartialOrd<<Q as Deref>::Target>,

Sourceยง

impl<S> PartialOrd for Host<S>
where S: PartialOrd,

Sourceยง

impl<Storage> PartialOrd for __BindgenBitfieldUnit<Storage>
where Storage: PartialOrd,

Sourceยง

impl<T> PartialOrd for UnitSectionOffset<T>
where T: PartialOrd,

Sourceยง

impl<T> PartialOrd for Resettable<T>
where T: PartialOrd,

1.0.0 ยท Sourceยง

impl<T> PartialOrd for Option<T>
where T: PartialOrd,

1.36.0 ยท Sourceยง

impl<T> PartialOrd for Poll<T>
where T: PartialOrd,

1.0.0 ยท Sourceยง

impl<T> PartialOrd for *const T
where T: ?Sized,

1.0.0 ยท Sourceยง

impl<T> PartialOrd for *mut T
where T: ?Sized,

1.0.0 ยท Sourceยง

impl<T> PartialOrd for [T]
where T: PartialOrd,

Implements comparison of slices lexicographically.

1.0.0 ยท Sourceยง

impl<T> PartialOrd for (Tโ‚, Tโ‚‚, โ€ฆ, Tโ‚™)
where T: PartialOrd + ?Sized,

This trait is implemented for tuples up to twelve items long.

Sourceยง

impl<T> PartialOrd for CapacityError<T>
where T: PartialOrd,

Sourceยง

impl<T> PartialOrd for endian_type::BigEndian<T>
where T: PartialOrd,

Sourceยง

impl<T> PartialOrd for endian_type::LittleEndian<T>
where T: PartialOrd,

Sourceยง

impl<T> PartialOrd for DebugInfoOffset<T>
where T: PartialOrd,

Sourceยง

impl<T> PartialOrd for DebugTypesOffset<T>
where T: PartialOrd,

Sourceยง

impl<T> PartialOrd for UnitOffset<T>
where T: PartialOrd,

Sourceยง

impl<T> PartialOrd for indexmap::set::slice::Slice<T>
where T: PartialOrd,

Sourceยง

impl<T> PartialOrd for TryWriteableInfallibleAsWriteable<T>
where T: PartialOrd,

Sourceยง

impl<T> PartialOrd for WriteableAsTryWriteableInfallible<T>
where T: PartialOrd,

Sourceยง

impl<T> PartialOrd for zerocopy::wrappers::Unalign<T>
where T: Unaligned + PartialOrd,

Sourceยง

impl<T> PartialOrd for zerocopy::wrappers::Unalign<T>
where T: Unaligned + PartialOrd,

Sourceยง

impl<T> PartialOrd for ZeroSlice<T>
where T: AsULE + PartialOrd,

Sourceยง

impl<T> PartialOrd for AllowStdIo<T>
where T: PartialOrd,

1.10.0 ยท Sourceยง

impl<T> PartialOrd for Cell<T>
where T: PartialOrd + Copy,

1.10.0 ยท Sourceยง

impl<T> PartialOrd for RefCell<T>
where T: PartialOrd + ?Sized,

1.19.0 ยท Sourceยง

impl<T> PartialOrd for Reverse<T>
where T: PartialOrd,

1.0.0 ยท Sourceยง

impl<T> PartialOrd for PhantomData<T>
where T: ?Sized,

1.20.0 ยท Sourceยง

impl<T> PartialOrd for ManuallyDrop<T>
where T: PartialOrd + ?Sized,

1.28.0 ยท Sourceยง

impl<T> PartialOrd for NonZero<T>

1.74.0 ยท Sourceยง

impl<T> PartialOrd for Saturating<T>
where T: PartialOrd,

1.0.0 ยท Sourceยง

impl<T> PartialOrd for Wrapping<T>
where T: PartialOrd,

1.25.0 ยท Sourceยง

impl<T> PartialOrd for NonNull<T>
where T: ?Sized,

Sourceยง

impl<T> PartialOrd for Spanned<T>
where T: PartialOrd,

1.0.0 ยท Sourceยง

impl<T, A1, A2> PartialOrd<Vec<T, A2>> for Vec<T, A1>
where T: PartialOrd, A1: Allocator, A2: Allocator,

Implements comparison of vectors, lexicographically.

1.0.0 ยท Sourceยง

impl<T, A> PartialOrd for Box<T, A>
where T: PartialOrd + ?Sized, A: Allocator,

1.0.0 ยท Sourceยง

impl<T, A> PartialOrd for BTreeSet<T, A>
where T: PartialOrd, A: Allocator + Clone,

1.0.0 ยท Sourceยง

impl<T, A> PartialOrd for LinkedList<T, A>
where T: PartialOrd, A: Allocator,

1.0.0 ยท Sourceยง

impl<T, A> PartialOrd for VecDeque<T, A>
where T: PartialOrd, A: Allocator,

1.0.0 ยท Sourceยง

impl<T, A> PartialOrd for Rc<T, A>
where T: PartialOrd + ?Sized, A: Allocator,

1.0.0 ยท Sourceยง

impl<T, A> PartialOrd for Arc<T, A>
where T: PartialOrd + ?Sized, A: Allocator,

Sourceยง

impl<T, B> PartialOrd for zerocopy::ref::def::Ref<B, T>

Sourceยง

impl<T, B> PartialOrd for zerocopy::Ref<B, [T]>

Sourceยง

impl<T, B> PartialOrd for zerocopy::Ref<B, T>

1.0.0 ยท Sourceยง

impl<T, E> PartialOrd for Result<T, E>
where T: PartialOrd, E: PartialOrd,

Sourceยง

impl<T, F> PartialOrd for VarZeroSlice<T, F>

Sourceยง

impl<T, N> PartialOrd for GenericArray<T, N>
where T: PartialOrd, N: ArrayLength<T>,

Sourceยง

impl<T, S> PartialOrd for Checkpoint<T, S>
where T: PartialOrd,

Sourceยง

impl<T, const CAP: usize> PartialOrd for ArrayVec<T, CAP>
where T: PartialOrd,

1.0.0 ยท Sourceยง

impl<T, const N: usize> PartialOrd for [T; N]
where T: PartialOrd,

Implements comparison of arrays lexicographically.

Sourceยง

impl<T, const N: usize> PartialOrd for Mask<T, N>

Sourceยง

impl<T, const N: usize> PartialOrd for Simd<T, N>

Sourceยง

impl<Tz> PartialOrd for rustmax::chrono::Date<Tz>
where Tz: TimeZone,

Sourceยง

impl<Tz, Tz2> PartialOrd<DateTime<Tz2>> for rustmax::chrono::DateTime<Tz>
where Tz: TimeZone, Tz2: TimeZone,

Sourceยง

impl<U> PartialOrd for OptionVarULE<U>
where U: VarULE + PartialOrd + ?Sized,

Sourceยง

impl<U> PartialOrd for NInt<U>

Sourceยง

impl<U> PartialOrd for PInt<U>

Sourceยง

impl<U, B> PartialOrd for UInt<U, B>
where U: PartialOrd, B: PartialOrd,

Sourceยง

impl<V, A> PartialOrd for TArr<V, A>
where V: PartialOrd, A: PartialOrd,

Sourceยง

impl<Y, R> PartialOrd for CoroutineState<Y, R>
where Y: PartialOrd, R: PartialOrd,

Sourceยง

impl<const CAP: usize> PartialOrd for ArrayString<CAP>

Sourceยง

impl<const CAP: usize> PartialOrd<str> for ArrayString<CAP>

Sourceยง

impl<const CAP: usize> PartialOrd<ArrayString<CAP>> for str

Sourceยง

impl<const MIN: i128, const MAX: i128> PartialOrd<ri8<MIN, MAX>> for i8

Sourceยง

impl<const MIN: i128, const MAX: i128> PartialOrd<ri16<MIN, MAX>> for i16

Sourceยง

impl<const MIN: i128, const MAX: i128> PartialOrd<ri32<MIN, MAX>> for i32

Sourceยง

impl<const MIN: i128, const MAX: i128> PartialOrd<ri64<MIN, MAX>> for i64

Sourceยง

impl<const MIN: i128, const MAX: i128> PartialOrd<ri128<MIN, MAX>> for i128

Sourceยง

impl<const N: usize> PartialOrd for TinyAsciiStr<N>

Sourceยง

impl<const N: usize> PartialOrd for UnvalidatedTinyAsciiStr<N>

Sourceยง

impl<const N: usize> PartialOrd for RawBytesULE<N>