Trait script::dom::bindings::import::module::cmp::Ord

1.0.0 · source ·
pub trait Ord: Eq + PartialOrd {
    // Required method
    fn cmp(&self, other: &Self) -> Ordering;

    // Provided methods
    fn max(self, other: Self) -> Self
       where Self: Sized { ... }
    fn min(self, other: Self) -> Self
       where Self: Sized { ... }
    fn clamp(self, min: Self, max: Self) -> Self
       where Self: Sized + PartialOrd { ... }
}
Expand description

Trait for types that form a total order.

Implementations must be consistent with the PartialOrd implementation, and ensure max, min, and clamp are consistent with cmp:

  • partial_cmp(a, b) == Some(cmp(a, b)).
  • max(a, b) == max_by(a, b, cmp) (ensured by the default implementation).
  • min(a, b) == min_by(a, b, cmp) (ensured by the default implementation).
  • For a.clamp(min, max), see the method docs (ensured by the default implementation).

It’s easy to accidentally make cmp and partial_cmp disagree by deriving some of the traits and manually implementing others.

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.

§Corollaries

From the above and the requirements of PartialOrd, it follows that for all a, b and c:

  • exactly one of a < b, a == b or a > b is true; and
  • < is transitive: a < b and b < c implies a < c. The same must hold for both == and >.

Mathematically speaking, the < operator defines a strict weak order. In cases where == conforms to mathematical equality, it also defines a strict total order.

§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 ordered primarily 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, Eq, PartialOrd, Ord)]
enum E {
    Top,
    Bottom,
}

assert!(E::Top < E::Bottom);

However, manually setting the discriminants can override this default behavior:

#[derive(PartialEq, Eq, PartialOrd, Ord)]
enum E {
    Top = 2,
    Bottom = 1,
}

assert!(E::Bottom < E::Top);

§Lexicographical comparison

Lexicographical comparison is an operation with the following properties:

  • Two sequences are compared element by element.
  • The first mismatching element defines which sequence is lexicographically less or greater than the other.
  • If one sequence is a prefix of another, the shorter sequence is lexicographically less than the other.
  • If two sequences have equivalent elements and are of the same length, then the sequences are lexicographically equal.
  • An empty sequence is lexicographically less than any non-empty sequence.
  • Two empty sequences are lexicographically equal.

§How can I implement Ord?

Ord requires that the type also be PartialOrd and Eq (which requires PartialEq).

Then you must define an implementation for cmp. You may find it useful to use cmp on your type’s fields.

Here’s an example where you want to sort people by height only, disregarding id and name:

use std::cmp::Ordering;

#[derive(Eq)]
struct Person {
    id: u32,
    name: String,
    height: u32,
}

impl Ord for Person {
    fn cmp(&self, other: &Self) -> Ordering {
        self.height.cmp(&other.height)
    }
}

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

impl PartialEq for Person {
    fn eq(&self, other: &Self) -> bool {
        self.height == other.height
    }
}

Required Methods§

1.0.0 · source

fn cmp(&self, other: &Self) -> Ordering

This method returns an Ordering between self and other.

By convention, self.cmp(&other) returns the ordering matching the expression self <operator> other if true.

§Examples
use std::cmp::Ordering;

assert_eq!(5.cmp(&10), Ordering::Less);
assert_eq!(10.cmp(&5), Ordering::Greater);
assert_eq!(5.cmp(&5), Ordering::Equal);

Provided Methods§

1.21.0 · source

fn max(self, other: Self) -> Self
where Self: Sized,

Compares and returns the maximum of two values.

Returns the second argument if the comparison determines them to be equal.

§Examples
assert_eq!(1.max(2), 2);
assert_eq!(2.max(2), 2);
1.21.0 · source

fn min(self, other: Self) -> Self
where Self: Sized,

Compares and returns the minimum of two values.

Returns the first argument if the comparison determines them to be equal.

§Examples
assert_eq!(1.min(2), 1);
assert_eq!(2.min(2), 2);
1.50.0 · source

fn clamp(self, min: Self, max: Self) -> Self
where Self: Sized + PartialOrd,

Restrict a value to a certain interval.

Returns max if self is greater than max, and min if self is less than min. Otherwise this returns self.

§Panics

Panics if min > max.

§Examples
assert_eq!((-3).clamp(-2, 1), -2);
assert_eq!(0.clamp(-2, 1), 0);
assert_eq!(2.clamp(-2, 1), 1);

Object Safety§

This trait is not object safe.

Implementors§

source§

impl Ord for BigEndian

source§

impl Ord for LittleEndian

source§

impl Ord for Keviyah

source§

impl Ord for StartOfYear

source§

impl Ord for YearType

source§

impl Ord for chrono::month::Month

source§

impl Ord for Meaning

source§

impl Ord for SectionId

source§

impl Ord for ColumnType

source§

impl Ord for AttrValueKind

source§

impl Ord for DoctypeIdKind

source§

impl Ord for RawKind

source§

impl Ord for ScriptEscapeKind

source§

impl Ord for html5ever::tokenizer::states::State

source§

impl Ord for AnyCalendarKind

source§

impl Ord for ICU4XCollatorAlternateHandling

source§

impl Ord for ICU4XCollatorBackwardSecondLevel

source§

impl Ord for ICU4XCollatorCaseFirst

source§

impl Ord for ICU4XCollatorCaseLevel

source§

impl Ord for ICU4XCollatorMaxVariable

source§

impl Ord for ICU4XCollatorNumeric

source§

impl Ord for ICU4XCollatorStrength

source§

impl Ord for AlternateHandling

source§

impl Ord for CaseFirst

source§

impl Ord for Strength

source§

impl Ord for FieldLength

source§

impl Ord for FieldNumericOverrides

source§

impl Ord for Day

source§

impl Ord for DayPeriod

source§

impl Ord for FieldSymbol

source§

impl Ord for Hour

source§

impl Ord for icu_datetime::fields::symbols::Month

source§

impl Ord for Second

source§

impl Ord for TimeZone

source§

impl Ord for Week

source§

impl Ord for Weekday

source§

impl Ord for Year

source§

impl Ord for ExtensionType

source§

impl Ord for PluralCategory

source§

impl Ord for icu_properties::props::GeneralCategory

source§

impl Ord for CheckedBidiPairedBracketType

source§

impl Ord for LocaleFallbackPriority

source§

impl Ord for LocaleFallbackSupplement

source§

impl Ord for khronos_egl::Version

source§

impl Ord for log::Level

source§

impl Ord for log::LevelFilter

source§

impl Ord for AddressSpace

source§

impl Ord for ArraySize

source§

impl Ord for AtomicFunction

source§

impl Ord for BinaryOperator

source§

impl Ord for naga::BuiltIn

source§

impl Ord for CollectiveOperation

source§

impl Ord for ConservativeDepth

source§

impl Ord for DerivativeAxis

source§

impl Ord for DerivativeControl

source§

impl Ord for GatherMode

source§

impl Ord for ImageClass

source§

impl Ord for ImageDimension

source§

impl Ord for Interpolation

source§

impl Ord for MathFunction

source§

impl Ord for RelationalFunction

source§

impl Ord for Sampling

source§

impl Ord for ScalarKind

source§

impl Ord for ShaderStage

source§

impl Ord for StorageFormat

source§

impl Ord for SubgroupOperation

source§

impl Ord for UnaryOperator

source§

impl Ord for VectorSize

source§

impl Ord for ExpressionKind

source§

impl Ord for petgraph::Direction

source§

impl Ord for ProfilerCategory

source§

impl Ord for TimerMetadataFrameType

source§

impl Ord for TimerMetadataReflowType

source§

impl Ord for Channels

source§

impl Ord for ColorSpace

source§

impl Ord for Utf8Sequence

source§

impl Ord for Number

source§

impl Ord for ron::value::Value

source§

impl Ord for rustix::ioctl::Direction

source§

impl Ord for SocketAddrAny

source§

impl Ord for Void

source§

impl Ord for ParamDir

source§

impl Ord for ParamType

source§

impl Ord for AccessQualifier

source§

impl Ord for AddressingModel

source§

impl Ord for spirv::BuiltIn

source§

impl Ord for CLOp

source§

impl Ord for Capability

source§

impl Ord for CooperativeMatrixLayout

source§

impl Ord for CooperativeMatrixUse

source§

impl Ord for Decoration

source§

impl Ord for Dim

source§

impl Ord for ExecutionMode

source§

impl Ord for ExecutionModel

source§

impl Ord for FPDenormMode

source§

impl Ord for FPOperationMode

source§

impl Ord for FPRoundingMode

source§

impl Ord for FunctionParameterAttribute

source§

impl Ord for GLOp

source§

impl Ord for GroupOperation

source§

impl Ord for HostAccessQualifier

source§

impl Ord for ImageChannelDataType

source§

impl Ord for ImageChannelOrder

source§

impl Ord for ImageFormat

source§

impl Ord for InitializationModeQualifier

source§

impl Ord for KernelEnqueueFlags

source§

impl Ord for LinkageType

source§

impl Ord for LoadCacheControl

source§

impl Ord for MemoryModel

source§

impl Ord for Op

source§

impl Ord for OverflowModes

source§

impl Ord for PackedVectorFormat

source§

impl Ord for QuantizationModes

source§

impl Ord for RayQueryCandidateIntersectionType

source§

impl Ord for RayQueryCommittedIntersectionType

source§

impl Ord for RayQueryIntersection

source§

impl Ord for SamplerAddressingMode

source§

impl Ord for SamplerFilterMode

source§

impl Ord for Scope

source§

impl Ord for SourceLanguage

source§

impl Ord for StorageClass

source§

impl Ord for StoreCacheControl

source§

impl Ord for ViewportUnitUsage

source§

impl Ord for ChildRestyleRequirement

source§

impl Ord for CascadeLevel

source§

impl Ord for DataValidity

source§

impl Ord for Origin

source§

impl Ord for style::stylesheets::rule_parser::State

source§

impl Ord for SortKey

source§

impl Ord for BorderStyle

source§

impl Ord for OutlineStyle

source§

impl Ord for PaintOrder

source§

impl Ord for CaptionSide

source§

impl Ord for DeflateLevel

source§

impl Ord for EmojiStatus

source§

impl Ord for unicode_properties::tables::general_category::GeneralCategory

source§

impl Ord for GeneralCategoryGroup

source§

impl Ord for ExtendMode

source§

impl Ord for FontHinting

source§

impl Ord for FontLCDFilter

source§

impl Ord for FontRenderMode

source§

impl Ord for ShaderVersion

source§

impl Ord for ShaderModel

source§

impl Ord for SubpixelDirection

source§

impl Ord for SubpixelOffset

source§

impl Ord for DOMErrorName

1.0.0 · source§

impl Ord for Ordering

source§

impl Ord for AsciiChar

1.34.0 · source§

impl Ord for Infallible

1.7.0 · source§

impl Ord for IpAddr

1.0.0 · source§

impl Ord for SocketAddr

1.0.0 · source§

impl Ord for ErrorKind

1.0.0 · source§

impl Ord for bool

1.0.0 · source§

impl Ord for char

1.0.0 · source§

impl Ord for i8

1.0.0 · source§

impl Ord for i16

1.0.0 · source§

impl Ord for i32

1.0.0 · source§

impl Ord for i64

1.0.0 · source§

impl Ord for i128

1.0.0 · source§

impl Ord for isize

source§

impl Ord for !

1.0.0 · source§

impl Ord for str

Implements ordering of strings.

Strings are ordered lexicographically by their byte values. This orders 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. Sorting strings according to culturally-accepted standards requires locale-specific data that is outside the scope of the str type.

1.0.0 · source§

impl Ord for u8

1.0.0 · source§

impl Ord for u16

1.0.0 · source§

impl Ord for u32

1.0.0 · source§

impl Ord for u64

1.0.0 · source§

impl Ord for u128

1.0.0 · source§

impl Ord for ()

1.0.0 · source§

impl Ord for usize

source§

impl Ord for aead::Error

source§

impl Ord for aho_corasick::util::primitives::PatternID

source§

impl Ord for aho_corasick::util::primitives::StateID

source§

impl Ord for Au

source§

impl Ord for AccelerationStructureCreateFlagsKHR

source§

impl Ord for AccessFlags2

source§

impl Ord for AccessFlags

source§

impl Ord for AcquireProfilingLockFlagsKHR

source§

impl Ord for AttachmentDescriptionFlags

source§

impl Ord for BufferCreateFlags

source§

impl Ord for BufferUsageFlags2KHR

source§

impl Ord for BufferUsageFlags

source§

impl Ord for BuildAccelerationStructureFlagsKHR

source§

impl Ord for BuildMicromapFlagsEXT

source§

impl Ord for ColorComponentFlags

source§

impl Ord for CommandBufferResetFlags

source§

impl Ord for CommandBufferUsageFlags

source§

impl Ord for CommandPoolCreateFlags

source§

impl Ord for CommandPoolResetFlags

source§

impl Ord for CompositeAlphaFlagsKHR

source§

impl Ord for ConditionalRenderingFlagsEXT

source§

impl Ord for CullModeFlags

source§

impl Ord for DebugReportFlagsEXT

source§

impl Ord for DebugUtilsMessageSeverityFlagsEXT

source§

impl Ord for DebugUtilsMessageTypeFlagsEXT

source§

impl Ord for DependencyFlags

source§

impl Ord for DescriptorBindingFlags

source§

impl Ord for DescriptorPoolCreateFlags

source§

impl Ord for DescriptorSetLayoutCreateFlags

source§

impl Ord for DeviceAddressBindingFlagsEXT

source§

impl Ord for DeviceDiagnosticsConfigFlagsNV

source§

impl Ord for DeviceGroupPresentModeFlagsKHR

source§

impl Ord for DeviceQueueCreateFlags

source§

impl Ord for DisplayPlaneAlphaFlagsKHR

source§

impl Ord for EventCreateFlags

source§

impl Ord for ExportMetalObjectTypeFlagsEXT

source§

impl Ord for ExternalFenceFeatureFlags

source§

impl Ord for ExternalFenceHandleTypeFlags

source§

impl Ord for ExternalMemoryFeatureFlags

source§

impl Ord for ExternalMemoryFeatureFlagsNV

source§

impl Ord for ExternalMemoryHandleTypeFlags

source§

impl Ord for ExternalMemoryHandleTypeFlagsNV

source§

impl Ord for ExternalSemaphoreFeatureFlags

source§

impl Ord for ExternalSemaphoreHandleTypeFlags

source§

impl Ord for FenceCreateFlags

source§

impl Ord for FenceImportFlags

source§

impl Ord for FormatFeatureFlags2

source§

impl Ord for FormatFeatureFlags

source§

impl Ord for FrameBoundaryFlagsEXT

source§

impl Ord for FramebufferCreateFlags

source§

impl Ord for GeometryFlagsKHR

source§

impl Ord for GeometryInstanceFlagsKHR

source§

impl Ord for GraphicsPipelineLibraryFlagsEXT

source§

impl Ord for HostImageCopyFlagsEXT

source§

impl Ord for ImageAspectFlags

source§

impl Ord for ImageCompressionFixedRateFlagsEXT

source§

impl Ord for ImageCompressionFlagsEXT

source§

impl Ord for ImageConstraintsInfoFlagsFUCHSIA

source§

impl Ord for ImageCreateFlags

source§

impl Ord for ImageFormatConstraintsFlagsFUCHSIA

source§

impl Ord for ImageUsageFlags

source§

impl Ord for ImageViewCreateFlags

source§

impl Ord for IndirectCommandsLayoutUsageFlagsNV

source§

impl Ord for IndirectStateFlagsNV

source§

impl Ord for InstanceCreateFlags

source§

impl Ord for MemoryAllocateFlags

source§

impl Ord for MemoryDecompressionMethodFlagsNV

source§

impl Ord for MemoryHeapFlags

source§

impl Ord for MemoryMapFlags

source§

impl Ord for ash::vk::bitflags::MemoryPropertyFlags

source§

impl Ord for MemoryUnmapFlagsKHR

source§

impl Ord for MicromapCreateFlagsEXT

source§

impl Ord for OpticalFlowExecuteFlagsNV

source§

impl Ord for OpticalFlowGridSizeFlagsNV

source§

impl Ord for OpticalFlowSessionCreateFlagsNV

source§

impl Ord for OpticalFlowUsageFlagsNV

source§

impl Ord for PeerMemoryFeatureFlags

source§

impl Ord for PerformanceCounterDescriptionFlagsKHR

source§

impl Ord for PhysicalDeviceSchedulingControlsFlagsARM

source§

impl Ord for PipelineCacheCreateFlags

source§

impl Ord for PipelineColorBlendStateCreateFlags

source§

impl Ord for PipelineCompilerControlFlagsAMD

source§

impl Ord for PipelineCreateFlags2KHR

source§

impl Ord for PipelineCreateFlags

source§

impl Ord for PipelineCreationFeedbackFlags

source§

impl Ord for PipelineDepthStencilStateCreateFlags

source§

impl Ord for PipelineLayoutCreateFlags

source§

impl Ord for PipelineShaderStageCreateFlags

source§

impl Ord for PipelineStageFlags2

source§

impl Ord for PipelineStageFlags

source§

impl Ord for PresentGravityFlagsEXT

source§

impl Ord for PresentScalingFlagsEXT

source§

impl Ord for PrivateDataSlotCreateFlags

source§

impl Ord for QueryControlFlags

source§

impl Ord for QueryPipelineStatisticFlags

source§

impl Ord for QueryResultFlags

source§

impl Ord for QueueFlags

source§

impl Ord for RenderPassCreateFlags

source§

impl Ord for RenderingFlags

source§

impl Ord for ResolveModeFlags

source§

impl Ord for SampleCountFlags

source§

impl Ord for SamplerCreateFlags

source§

impl Ord for SemaphoreCreateFlags

source§

impl Ord for SemaphoreImportFlags

source§

impl Ord for SemaphoreWaitFlags

source§

impl Ord for ShaderCorePropertiesFlagsAMD

source§

impl Ord for ShaderCreateFlagsEXT

source§

impl Ord for ShaderModuleCreateFlags

source§

impl Ord for ShaderStageFlags

source§

impl Ord for SparseImageFormatFlags

source§

impl Ord for SparseMemoryBindFlags

source§

impl Ord for StencilFaceFlags

source§

impl Ord for SubgroupFeatureFlags

source§

impl Ord for SubmitFlags

source§

impl Ord for SubpassDescriptionFlags

source§

impl Ord for SurfaceCounterFlagsEXT

source§

impl Ord for SurfaceTransformFlagsKHR

source§

impl Ord for SwapchainCreateFlagsKHR

source§

impl Ord for SwapchainImageUsageFlagsANDROID

source§

impl Ord for ToolPurposeFlags

source§

impl Ord for VideoCapabilityFlagsKHR

source§

impl Ord for VideoChromaSubsamplingFlagsKHR

source§

impl Ord for VideoCodecOperationFlagsKHR

source§

impl Ord for VideoCodingControlFlagsKHR

source§

impl Ord for VideoComponentBitDepthFlagsKHR

source§

impl Ord for VideoDecodeCapabilityFlagsKHR

source§

impl Ord for VideoDecodeH264PictureLayoutFlagsKHR

source§

impl Ord for VideoDecodeUsageFlagsKHR

source§

impl Ord for VideoEncodeCapabilityFlagsKHR

source§

impl Ord for VideoEncodeContentFlagsKHR

source§

impl Ord for VideoEncodeFeedbackFlagsKHR

source§

impl Ord for VideoEncodeFlagsKHR

source§

impl Ord for VideoEncodeH264CapabilityFlagsKHR

source§

impl Ord for VideoEncodeH264RateControlFlagsKHR

source§

impl Ord for VideoEncodeH264StdFlagsKHR

source§

impl Ord for VideoEncodeH265CapabilityFlagsKHR

source§

impl Ord for VideoEncodeH265CtbSizeFlagsKHR

source§

impl Ord for VideoEncodeH265RateControlFlagsKHR

source§

impl Ord for VideoEncodeH265StdFlagsKHR

source§

impl Ord for VideoEncodeH265TransformBlockSizeFlagsKHR

source§

impl Ord for VideoEncodeRateControlModeFlagsKHR

source§

impl Ord for VideoEncodeUsageFlagsKHR

source§

impl Ord for VideoSessionCreateFlagsKHR

source§

impl Ord for AccelerationStructureKHR

source§

impl Ord for AccelerationStructureMotionInfoFlagsNV

source§

impl Ord for AccelerationStructureMotionInstanceFlagsNV

source§

impl Ord for AccelerationStructureNV

source§

impl Ord for AndroidSurfaceCreateFlagsKHR

source§

impl Ord for Buffer

source§

impl Ord for BufferCollectionFUCHSIA

source§

impl Ord for BufferView

source§

impl Ord for BufferViewCreateFlags

source§

impl Ord for CommandBuffer

source§

impl Ord for CommandPool

source§

impl Ord for CommandPoolTrimFlags

source§

impl Ord for CuFunctionNVX

source§

impl Ord for CuModuleNVX

source§

impl Ord for CudaFunctionNV

source§

impl Ord for CudaModuleNV

source§

impl Ord for DebugReportCallbackEXT

source§

impl Ord for DebugUtilsMessengerCallbackDataFlagsEXT

source§

impl Ord for DebugUtilsMessengerCreateFlagsEXT

source§

impl Ord for DebugUtilsMessengerEXT

source§

impl Ord for DeferredOperationKHR

source§

impl Ord for DescriptorPool

source§

impl Ord for DescriptorPoolResetFlags

source§

impl Ord for DescriptorSet

source§

impl Ord for DescriptorSetLayout

source§

impl Ord for DescriptorUpdateTemplate

source§

impl Ord for DescriptorUpdateTemplateCreateFlags

source§

impl Ord for Device

source§

impl Ord for DeviceCreateFlags

source§

impl Ord for DeviceMemory

source§

impl Ord for DeviceMemoryReportFlagsEXT

source§

impl Ord for DirectDriverLoadingFlagsLUNARG

source§

impl Ord for DirectFBSurfaceCreateFlagsEXT

source§

impl Ord for DisplayKHR

source§

impl Ord for DisplayModeCreateFlagsKHR

source§

impl Ord for DisplayModeKHR

source§

impl Ord for DisplaySurfaceCreateFlagsKHR

source§

impl Ord for Event

source§

impl Ord for Fence

source§

impl Ord for Framebuffer

source§

impl Ord for HeadlessSurfaceCreateFlagsEXT

source§

impl Ord for IOSSurfaceCreateFlagsMVK

source§

impl Ord for Image

source§

impl Ord for ImagePipeSurfaceCreateFlagsFUCHSIA

source§

impl Ord for ImageView

source§

impl Ord for IndirectCommandsLayoutNV

source§

impl Ord for Instance

source§

impl Ord for MacOSSurfaceCreateFlagsMVK

source§

impl Ord for MetalSurfaceCreateFlagsEXT

source§

impl Ord for MicromapEXT

source§

impl Ord for OpticalFlowSessionNV

source§

impl Ord for PerformanceConfigurationINTEL

source§

impl Ord for PhysicalDevice

source§

impl Ord for Pipeline

source§

impl Ord for PipelineCache

source§

impl Ord for PipelineCoverageModulationStateCreateFlagsNV

source§

impl Ord for PipelineCoverageReductionStateCreateFlagsNV

source§

impl Ord for PipelineCoverageToColorStateCreateFlagsNV

source§

impl Ord for PipelineDiscardRectangleStateCreateFlagsEXT

source§

impl Ord for PipelineDynamicStateCreateFlags

source§

impl Ord for PipelineInputAssemblyStateCreateFlags

source§

impl Ord for PipelineLayout

source§

impl Ord for PipelineMultisampleStateCreateFlags

source§

impl Ord for PipelineRasterizationConservativeStateCreateFlagsEXT

source§

impl Ord for PipelineRasterizationDepthClipStateCreateFlagsEXT

source§

impl Ord for PipelineRasterizationStateCreateFlags

source§

impl Ord for PipelineRasterizationStateStreamCreateFlagsEXT

source§

impl Ord for PipelineTessellationStateCreateFlags

source§

impl Ord for PipelineVertexInputStateCreateFlags

source§

impl Ord for PipelineViewportStateCreateFlags

source§

impl Ord for PipelineViewportSwizzleStateCreateFlagsNV

source§

impl Ord for PrivateDataSlot

source§

impl Ord for QueryPool

source§

impl Ord for QueryPoolCreateFlags

source§

impl Ord for Queue

source§

impl Ord for RenderPass

source§

impl Ord for Sampler

source§

impl Ord for SamplerYcbcrConversion

source§

impl Ord for ScreenSurfaceCreateFlagsQNX

source§

impl Ord for Semaphore

source§

impl Ord for ShaderEXT

source§

impl Ord for ShaderModule

source§

impl Ord for StreamDescriptorSurfaceCreateFlagsGGP

source§

impl Ord for SurfaceKHR

source§

impl Ord for SwapchainKHR

source§

impl Ord for ValidationCacheCreateFlagsEXT

source§

impl Ord for ValidationCacheEXT

source§

impl Ord for ViSurfaceCreateFlagsNN

source§

impl Ord for VideoBeginCodingFlagsKHR

source§

impl Ord for VideoDecodeFlagsKHR

source§

impl Ord for VideoEncodeRateControlFlagsKHR

source§

impl Ord for VideoEndCodingFlagsKHR

source§

impl Ord for VideoSessionKHR

source§

impl Ord for VideoSessionParametersCreateFlagsKHR

source§

impl Ord for VideoSessionParametersKHR

source§

impl Ord for WaylandSurfaceCreateFlagsKHR

source§

impl Ord for Win32SurfaceCreateFlagsKHR

source§

impl Ord for XcbSurfaceCreateFlagsKHR

source§

impl Ord for XlibSurfaceCreateFlagsKHR

source§

impl Ord for AccelerationStructureBuildTypeKHR

source§

impl Ord for AccelerationStructureCompatibilityKHR

source§

impl Ord for AccelerationStructureMemoryRequirementsTypeNV

source§

impl Ord for AccelerationStructureMotionInstanceTypeNV

source§

impl Ord for AccelerationStructureTypeKHR

source§

impl Ord for AttachmentLoadOp

source§

impl Ord for AttachmentStoreOp

source§

impl Ord for BlendFactor

source§

impl Ord for BlendOp

source§

impl Ord for BlendOverlapEXT

source§

impl Ord for BlockMatchWindowCompareModeQCOM

source§

impl Ord for BorderColor

source§

impl Ord for BuildAccelerationStructureModeKHR

source§

impl Ord for BuildMicromapModeEXT

source§

impl Ord for ChromaLocation

source§

impl Ord for CoarseSampleOrderTypeNV

source§

impl Ord for ColorSpaceKHR

source§

impl Ord for CommandBufferLevel

source§

impl Ord for CompareOp

source§

impl Ord for ComponentSwizzle

source§

impl Ord for ComponentTypeKHR

source§

impl Ord for ConservativeRasterizationModeEXT

source§

impl Ord for CopyAccelerationStructureModeKHR

source§

impl Ord for CopyMicromapModeEXT

source§

impl Ord for CoverageModulationModeNV

source§

impl Ord for CoverageReductionModeNV

source§

impl Ord for CubicFilterWeightsQCOM

source§

impl Ord for DebugReportObjectTypeEXT

source§

impl Ord for DepthBiasRepresentationEXT

source§

impl Ord for DescriptorType

source§

impl Ord for DescriptorUpdateTemplateType

source§

impl Ord for DeviceAddressBindingTypeEXT

source§

impl Ord for DeviceEventTypeEXT

source§

impl Ord for DeviceFaultAddressTypeEXT

source§

impl Ord for DeviceFaultVendorBinaryHeaderVersionEXT

source§

impl Ord for DeviceMemoryReportEventTypeEXT

source§

impl Ord for DirectDriverLoadingModeLUNARG

source§

impl Ord for DiscardRectangleModeEXT

source§

impl Ord for DisplacementMicromapFormatNV

source§

impl Ord for DisplayEventTypeEXT

source§

impl Ord for DisplayPowerStateEXT

source§

impl Ord for DriverId

source§

impl Ord for DynamicState

source§

impl Ord for Filter

source§

impl Ord for Format

source§

impl Ord for FragmentShadingRateCombinerOpKHR

source§

impl Ord for FragmentShadingRateNV

source§

impl Ord for FragmentShadingRateTypeNV

source§

impl Ord for FrontFace

source§

impl Ord for FullScreenExclusiveEXT

source§

impl Ord for GeometryTypeKHR

source§

impl Ord for ImageLayout

source§

impl Ord for ImageTiling

source§

impl Ord for ImageType

source§

impl Ord for ImageViewType

source§

impl Ord for IndexType

source§

impl Ord for IndirectCommandsTokenTypeNV

source§

impl Ord for InternalAllocationType

source§

impl Ord for LatencyMarkerNV

source§

impl Ord for LayerSettingTypeEXT

source§

impl Ord for LayeredDriverUnderlyingApiMSFT

source§

impl Ord for LineRasterizationModeKHR

source§

impl Ord for LogicOp

source§

impl Ord for MemoryOverallocationBehaviorAMD

source§

impl Ord for MicromapTypeEXT

source§

impl Ord for ObjectType

source§

impl Ord for OpacityMicromapFormatEXT

source§

impl Ord for OpacityMicromapSpecialIndexEXT

source§

impl Ord for OpticalFlowPerformanceLevelNV

source§

impl Ord for OpticalFlowSessionBindingPointNV

source§

impl Ord for OutOfBandQueueTypeNV

source§

impl Ord for PerformanceConfigurationTypeINTEL

source§

impl Ord for PerformanceCounterScopeKHR

source§

impl Ord for PerformanceCounterStorageKHR

source§

impl Ord for PerformanceCounterUnitKHR

source§

impl Ord for PerformanceOverrideTypeINTEL

source§

impl Ord for PerformanceParameterTypeINTEL

source§

impl Ord for PerformanceValueTypeINTEL

source§

impl Ord for PhysicalDeviceType

source§

impl Ord for PipelineBindPoint

source§

impl Ord for PipelineCacheHeaderVersion

source§

impl Ord for PipelineExecutableStatisticFormatKHR

source§

impl Ord for PipelineRobustnessBufferBehaviorEXT

source§

impl Ord for PipelineRobustnessImageBehaviorEXT

source§

impl Ord for PointClippingBehavior

source§

impl Ord for PolygonMode

source§

impl Ord for PresentModeKHR

source§

impl Ord for PrimitiveTopology

source§

impl Ord for ProvokingVertexModeEXT

source§

impl Ord for QueryPoolSamplingModeINTEL

source§

impl Ord for QueryResultStatusKHR

source§

impl Ord for QueryType

source§

impl Ord for QueueGlobalPriorityKHR

source§

impl Ord for RasterizationOrderAMD

source§

impl Ord for RayTracingInvocationReorderModeNV

source§

impl Ord for RayTracingShaderGroupTypeKHR

source§

impl Ord for ash::vk::enums::Result

source§

impl Ord for SamplerAddressMode

source§

impl Ord for SamplerMipmapMode

source§

impl Ord for SamplerReductionMode

source§

impl Ord for SamplerYcbcrModelConversion

source§

impl Ord for SamplerYcbcrRange

source§

impl Ord for ScopeKHR

source§

impl Ord for SemaphoreType

source§

impl Ord for ShaderCodeTypeEXT

source§

impl Ord for ShaderFloatControlsIndependence

source§

impl Ord for ShaderGroupShaderKHR

source§

impl Ord for ShaderInfoTypeAMD

source§

impl Ord for ShadingRatePaletteEntryNV

source§

impl Ord for SharingMode

source§

impl Ord for StencilOp

source§

impl Ord for StructureType

source§

impl Ord for SubpassContents

source§

impl Ord for SubpassMergeStatusEXT

source§

impl Ord for SystemAllocationScope

source§

impl Ord for TessellationDomainOrigin

source§

impl Ord for TimeDomainKHR

source§

impl Ord for ValidationCacheHeaderVersionEXT

source§

impl Ord for ValidationCheckEXT

source§

impl Ord for ValidationFeatureDisableEXT

source§

impl Ord for ValidationFeatureEnableEXT

source§

impl Ord for VendorId

source§

impl Ord for VertexInputRate

source§

impl Ord for VideoEncodeTuningModeKHR

source§

impl Ord for ViewportCoordinateSwizzleNV

source§

impl Ord for Packed24_8

source§

impl Ord for CrossProcessInstant

source§

impl Ord for BlobId

source§

impl Ord for BlobIndex

source§

impl Ord for BroadcastChannelRouterId

source§

impl Ord for BroadcastChannelRouterIndex

source§

impl Ord for BrowsingContextId

source§

impl Ord for BrowsingContextIndex

source§

impl Ord for HistoryStateId

source§

impl Ord for HistoryStateIndex

source§

impl Ord for MessagePortId

source§

impl Ord for MessagePortIndex

source§

impl Ord for MessagePortRouterId

source§

impl Ord for MessagePortRouterIndex

source§

impl Ord for PipelineId

source§

impl Ord for PipelineIndex

source§

impl Ord for PipelineNamespaceId

source§

impl Ord for ServiceWorkerId

source§

impl Ord for ServiceWorkerIndex

source§

impl Ord for ServiceWorkerRegistrationId

source§

impl Ord for ServiceWorkerRegistrationIndex

source§

impl Ord for TopLevelBrowsingContextId

source§

impl Ord for base::Epoch

source§

impl Ord for bytes::bytes::Bytes

source§

impl Ord for BytesMut

source§

impl Ord for calendrical_calculations::chinese_based::Chinese

source§

impl Ord for calendrical_calculations::chinese_based::Dangi

source§

impl Ord for BookHebrew

source§

impl Ord for RataDie

source§

impl Ord for WebGLContextId

source§

impl Ord for WebGLSLVersion

source§

impl Ord for Months

source§

impl Ord for NaiveDate

source§

impl Ord for NaiveDateDaysIterator

source§

impl Ord for NaiveDateWeeksIterator

source§

impl Ord for NaiveDateTime

source§

impl Ord for IsoWeek

source§

impl Ord for Days

source§

impl Ord for NaiveTime

source§

impl Ord for TimeDelta

source§

impl Ord for SourcePosition

source§

impl Ord for UnknownUnit

source§

impl Ord for Text

source§

impl Ord for FixedBitSet

source§

impl Ord for ByteIndex

source§

impl Ord for Register

source§

impl Ord for DwAccess

source§

impl Ord for DwAddr

source§

impl Ord for DwAt

source§

impl Ord for DwAte

source§

impl Ord for DwCc

source§

impl Ord for DwCfa

source§

impl Ord for DwChildren

source§

impl Ord for DwDefaulted

source§

impl Ord for DwDs

source§

impl Ord for DwDsc

source§

impl Ord for DwEhPe

source§

impl Ord for DwEnd

source§

impl Ord for DwForm

source§

impl Ord for DwId

source§

impl Ord for DwIdx

source§

impl Ord for DwInl

source§

impl Ord for DwLang

source§

impl Ord for DwLle

source§

impl Ord for DwLnct

source§

impl Ord for DwLne

source§

impl Ord for DwLns

source§

impl Ord for DwMacro

source§

impl Ord for DwOp

source§

impl Ord for DwOrd

source§

impl Ord for DwRle

source§

impl Ord for DwSect

source§

impl Ord for DwSectV2

source§

impl Ord for DwTag

source§

impl Ord for DwUt

source§

impl Ord for DwVirtuality

source§

impl Ord for DwVis

source§

impl Ord for ArangeEntry

source§

impl Ord for Range

source§

impl Ord for glow::native::NativeBuffer

source§

impl Ord for glow::native::NativeBuffer

source§

impl Ord for glow::native::NativeFence

source§

impl Ord for glow::native::NativeFence

source§

impl Ord for glow::native::NativeFramebuffer

source§

impl Ord for glow::native::NativeFramebuffer

source§

impl Ord for glow::native::NativeProgram

source§

impl Ord for glow::native::NativeProgram

source§

impl Ord for glow::native::NativeQuery

source§

impl Ord for glow::native::NativeQuery

source§

impl Ord for glow::native::NativeRenderbuffer

source§

impl Ord for glow::native::NativeRenderbuffer

source§

impl Ord for glow::native::NativeSampler

source§

impl Ord for glow::native::NativeSampler

source§

impl Ord for glow::native::NativeShader

source§

impl Ord for glow::native::NativeShader

source§

impl Ord for glow::native::NativeTexture

source§

impl Ord for glow::native::NativeTexture

source§

impl Ord for glow::native::NativeTransformFeedback

source§

impl Ord for glow::native::NativeTransformFeedback

source§

impl Ord for glow::native::NativeUniformLocation

source§

impl Ord for glow::native::NativeUniformLocation

source§

impl Ord for glow::native::NativeVertexArray

source§

impl Ord for glow::native::NativeVertexArray

source§

impl Ord for glow::version::Version

source§

impl Ord for glow::version::Version

source§

impl Ord for UsageFlags

source§

impl Ord for AllocationFlags

source§

impl Ord for gpu_alloc_types::types::MemoryPropertyFlags

source§

impl Ord for AccessControlMaxAge

source§

impl Ord for Age

source§

impl Ord for headers::common::date::Date

source§

impl Ord for Expires

source§

impl Ord for IfModifiedSince

source§

impl Ord for IfUnmodifiedSince

source§

impl Ord for LastModified

source§

impl Ord for Server

source§

impl Ord for UserAgent

source§

impl Ord for HeaderValue

source§

impl Ord for StatusCode

source§

impl Ord for http::version::Version

source§

impl Ord for HttpDate

source§

impl Ord for ReasonPhrase

source§

impl Ord for icu_calendar::chinese::Chinese

source§

impl Ord for ChineseDateInner

source§

impl Ord for Coptic

source§

impl Ord for CopticDateInner

source§

impl Ord for icu_calendar::dangi::Dangi

source§

impl Ord for DangiDateInner

source§

impl Ord for Ethiopian

source§

impl Ord for EthiopianDateInner

source§

impl Ord for GregorianDateInner

source§

impl Ord for Hebrew

source§

impl Ord for HebrewDateInner

source§

impl Ord for Indian

source§

impl Ord for IndianDateInner

source§

impl Ord for IslamicCivil

source§

impl Ord for IslamicCivilDateInner

source§

impl Ord for IslamicDateInner

source§

impl Ord for IslamicTabular

source§

impl Ord for IslamicTabularDateInner

source§

impl Ord for IslamicUmmAlQuraDateInner

source§

impl Ord for Iso

source§

impl Ord for IsoDateInner

source§

impl Ord for JapaneseDateInner

source§

impl Ord for Julian

source§

impl Ord for Persian

source§

impl Ord for PersianDateInner

source§

impl Ord for PackedChineseBasedYearInfo

source§

impl Ord for PackedIslamicYearInfo

source§

impl Ord for EraStartDate

source§

impl Ord for EraStartDateULE

source§

impl Ord for RocDateInner

source§

impl Ord for IsoHour

source§

impl Ord for IsoMinute

source§

impl Ord for IsoSecond

source§

impl Ord for MonthCode

source§

impl Ord for NanoSecond

source§

impl Ord for icu_calendar::types::Time

source§

impl Ord for Field

source§

impl Ord for FieldULE

source§

impl Ord for DayPeriodULE

source§

impl Ord for DayULE

source§

impl Ord for HourULE

source§

impl Ord for MonthULE

source§

impl Ord for SecondULE

source§

impl Ord for TimeZoneULE

source§

impl Ord for WeekULE

source§

impl Ord for WeekdayULE

source§

impl Ord for YearULE

source§

impl Ord for Other

source§

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

source§

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

source§

impl Ord for Private

source§

impl Ord for Fields

source§

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

source§

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

source§

impl Ord for icu_locid::extensions::unicode::attribute::Attribute

source§

impl Ord for Attributes

source§

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

source§

impl Ord for Keywords

source§

impl Ord for Unicode

source§

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

source§

impl Ord for Language

source§

impl Ord for Region

source§

impl Ord for icu_locid::subtags::script::Script

source§

impl Ord for Variant

source§

impl Ord for Variants

source§

impl Ord for LanguageStrStrPairVarULE

source§

impl Ord for StrStrPairVarULE

source§

impl Ord for PluralCategoryULE

source§

impl Ord for BidiClass

source§

impl Ord for CanonicalCombiningClass

source§

impl Ord for EastAsianWidth

source§

impl Ord for GraphemeClusterBreak

source§

impl Ord for HangulSyllableType

source§

impl Ord for IndicSyllabicCategory

source§

impl Ord for JoiningType

source§

impl Ord for LineBreak

source§

impl Ord for icu_properties::props::Script

source§

impl Ord for SentenceBreak

source§

impl Ord for WordBreak

source§

impl Ord for CheckedBidiPairedBracketTypeULE

source§

impl Ord for NormalizedPropertyNameStr

The Ord 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 Ord for DataKey

source§

impl Ord for DataKeyHash

source§

impl Ord for DataKeyMetadata

source§

impl Ord for DataKeyPath

source§

impl Ord for AuxiliaryKeys

source§

impl Ord for DataRequestMetadata

source§

impl Ord for MetazoneId

source§

impl Ord for TimeZoneBcp47Id

source§

impl Ord for ZoneVariant

source§

impl Ord for Modifiers

source§

impl Ord for markup5ever::interface::Attribute

source§

impl Ord for QualName

source§

impl Ord for LocalNameStaticSet

source§

impl Ord for NamespaceStaticSet

source§

impl Ord for PrefixStaticSet

source§

impl Ord for Mime

source§

impl Ord for Interest

source§

impl Ord for Token

source§

impl Ord for naga::proc::layouter::Alignment

source§

impl Ord for EarlyDepthTest

source§

impl Ord for ResourceBinding

source§

impl Ord for Scalar

source§

impl Ord for StorageAccess

source§

impl Ord for Quality

source§

impl Ord for petgraph::visit::dfsvisit::Time

source§

impl Ord for Transformations

source§

impl Ord for TimerMetadata

source§

impl Ord for LazyStateID

source§

impl Ord for Unit

source§

impl Ord for regex_automata::util::id::PatternID

source§

impl Ord for NonMaxUsize

source§

impl Ord for regex_automata::util::primitives::PatternID

source§

impl Ord for SmallIndex

source§

impl Ord for regex_automata::util::primitives::StateID

source§

impl Ord for Position

source§

impl Ord for Span

source§

impl Ord for Literal

source§

impl Ord for ClassBytesRange

source§

impl Ord for ClassUnicodeRange

source§

impl Ord for Utf8Range

source§

impl Ord for Extensions

source§

impl Ord for Float

Ordering comparison In order to be able to use Float as a mapping key, NaN floating values wrapped in Float are equal to each other and are less then any other floating value. It is not the case for underlying f64 values itself. See the PartialEq implementation.

source§

impl Ord for Map

source§

impl Ord for SocketAddrUnix

source§

impl Ord for Opcode

source§

impl Ord for SockaddrXdpFlags

source§

impl Ord for SocketAddrXdp

source§

impl Ord for Certificate

source§

impl Ord for GamepadIndex

source§

impl Ord for ByteBuf

source§

impl Ord for serde_bytes::bytes::Bytes

source§

impl Ord for AtomStaticSet

source§

impl Ord for Tick

source§

impl Ord for InputPort

source§

impl Ord for NodeId

source§

impl Ord for OutputPort

source§

impl Ord for ServoUrl

source§

impl Ord for EmptyStaticAtomSet

source§

impl Ord for CascadePriority

source§

impl Ord for ScopeProximity

source§

impl Ord for ShadowCascadeOrder

source§

impl Ord for KeyframePercentage

source§

impl Ord for LayerOrder

source§

impl Ord for ContainerConditionId

source§

impl Ord for LayerId

source§

impl Ord for ScopeConditionId

source§

impl Ord for time::date::Date

source§

impl Ord for time::duration::Duration

source§

impl Ord for time::duration::Duration

source§

impl Ord for time::instant::Instant

source§

impl Ord for OffsetDateTime

source§

impl Ord for PrimitiveDateTime

source§

impl Ord for SteadyTime

source§

impl Ord for Timespec

source§

impl Ord for Tm

source§

impl Ord for time::time::Time

source§

impl Ord for UtcOffset

source§

impl Ord for Ready

source§

impl Ord for tokio::time::instant::Instant

source§

impl Ord for AnyDelimiterCodec

source§

impl Ord for BytesCodec

source§

impl Ord for LinesCodec

source§

impl Ord for tracing_core::metadata::Level

source§

impl Ord for tracing_core::metadata::LevelFilter

source§

impl Ord for ATerm

source§

impl Ord for B0

source§

impl Ord for B1

source§

impl Ord for Z0

source§

impl Ord for Equal

source§

impl Ord for Greater

source§

impl Ord for Less

source§

impl Ord for UTerm

source§

impl Ord for unicode_bidi::level::Level

source§

impl Ord for Url

URLs compare like their serialization.

source§

impl Ord for Braced

source§

impl Ord for Hyphenated

source§

impl Ord for Simple

source§

impl Ord for Urn

source§

impl Ord for Uuid

source§

impl Ord for WebGPUContextId

source§

impl Ord for TileId

source§

impl Ord for CaptureBits

source§

impl Ord for ClearCache

source§

impl Ord for ShaderPrecacheFlags

source§

impl Ord for ColorU

source§

impl Ord for PremultipliedColorF

source§

impl Ord for PrimitiveFlags

source§

impl Ord for StackingContextFlags

source§

impl Ord for FontInstanceFlags

source§

impl Ord for FontInstanceKey

source§

impl Ord for FontInstanceOptions

source§

impl Ord for FontInstancePlatformOptions

source§

impl Ord for FontKey

source§

impl Ord for FontSize

source§

impl Ord for FontVariation

source§

impl Ord for GlyphOptions

source§

impl Ord for NativeFontHandle

source§

impl Ord for SyntheticItalics

source§

impl Ord for ImageDescriptorFlags

source§

impl Ord for DebugFlags

source§

impl Ord for webrender_api::Epoch

source§

impl Ord for IdNamespace

source§

impl Ord for RenderReasons

source§

impl Ord for DevicePixel

source§

impl Ord for FramebufferPixel

source§

impl Ord for LayoutPixel

source§

impl Ord for PicturePixel

source§

impl Ord for RasterPixel

source§

impl Ord for Tiles

source§

impl Ord for WorldPixel

source§

impl Ord for ShaderFeatureFlags

source§

impl Ord for RawId

source§

impl Ord for DownlevelCapabilities

source§

impl Ord for DownlevelFlags

source§

impl Ord for DownlevelLimits

source§

impl Ord for PresentationTimestamp

source§

impl Ord for BaseFontInstance

source§

impl Ord for FontInstance

source§

impl Ord for FontTransform

source§

impl Ord for GlyphKey

source§

impl Ord for CharULE

source§

impl Ord for UnvalidatedChar

source§

impl Ord for UnvalidatedStr

source§

impl Ord for Index16

source§

impl Ord for Index32

source§

impl Ord for UTF8Bytes

source§

impl Ord for JsTimerHandle

source§

impl Ord for OneshotTimer

source§

impl Ord for OneshotTimerHandle

source§

impl Ord for DOMString

source§

impl Ord for USVString

source§

impl Ord for script::dom::bindings::import::base::ptr::Alignment

1.64.0 · source§

impl Ord for CString

1.0.0 · source§

impl Ord for String

1.0.0 · source§

impl Ord for TypeId

1.27.0 · source§

impl Ord for CpuidResult

1.0.0 · source§

impl Ord for CStr

1.0.0 · source§

impl Ord for core::fmt::Error

1.33.0 · source§

impl Ord for PhantomPinned

1.0.0 · source§

impl Ord for Ipv4Addr

1.0.0 · source§

impl Ord for Ipv6Addr

1.0.0 · source§

impl Ord for SocketAddrV4

1.0.0 · source§

impl Ord for SocketAddrV6

1.3.0 · source§

impl Ord for core::time::Duration

1.0.0 · source§

impl Ord for OsStr

1.0.0 · source§

impl Ord for OsString

1.0.0 · source§

impl Ord for Components<'_>

1.0.0 · source§

impl Ord for Path

1.0.0 · source§

impl Ord for PathBuf

1.0.0 · source§

impl Ord for PrefixComponent<'_>

1.8.0 · source§

impl Ord for std::time::Instant

1.8.0 · source§

impl Ord for SystemTime

source§

impl<'a> Ord for FlexZeroVec<'a>

1.0.0 · source§

impl<'a> Ord for Component<'a>

1.0.0 · source§

impl<'a> Ord for Prefix<'a>

source§

impl<'a> Ord for CowRcStr<'a>

source§

impl<'a> Ord for Codepoint<'a>

source§

impl<'a> Ord for LanguageStrStrPair<'a>

source§

impl<'a> Ord for StrStrPair<'a>

source§

impl<'a> Ord for Metadata<'a>

source§

impl<'a> Ord for MetadataBuilder<'a>

source§

impl<'a> Ord for Name<'a>

1.10.0 · source§

impl<'a> Ord for Location<'a>

source§

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

source§

impl<'a, T, F> Ord for VarZeroVec<'a, T, F>
where T: VarULE + Ord + ?Sized, F: VarZeroVecFormat,

source§

impl<'b, T> Ord for Ptr<'b, T>

1.0.0 · source§

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

1.0.0 · source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

1.0.0 · source§

impl<B> Ord for Cow<'_, B>
where B: Ord + ToOwned + ?Sized,

source§

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

source§

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

source§

impl<C, A> Ord for icu_calendar::date::Date<A>
where C: Calendar, <C as Calendar>::DateInner: Ord, A: AsCalendar<Calendar = C>,

source§

impl<C, A> Ord for icu_calendar::datetime::DateTime<A>
where C: Calendar, <C as Calendar>::DateInner: Ord, A: AsCalendar<Calendar = C>,

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

1.4.0 · source§

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

source§

impl<F, A> Ord for Tendril<F, A>
where F: SliceFormat, <F as SliceFormat>::Slice: Ord, A: Atomicity,

source§

impl<Ix> Ord for EdgeIndex<Ix>
where Ix: Ord,

source§

impl<Ix> Ord for NodeIndex<Ix>
where Ix: Ord,

source§

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

1.0.0 · source§

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

source§

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

source§

impl<Kind> Ord for PortIndex<Kind>
where Kind: Ord + PortKind, <Kind as PortKind>::ParamId: Ord, <Kind as PortKind>::Listener: Ord,

source§

impl<Kind> Ord for PortId<Kind>
where Kind: Ord + PortKind,

source§

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

1.41.0 · source§

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

source§

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

source§

impl<Static> Ord for Atom<Static>
where Static: StaticAtomSet,

source§

impl<Storage> Ord for ash::vk::native::__BindgenBitfieldUnit<Storage>
where Storage: Ord,

source§

impl<Storage> Ord for linux_raw_sys::general::__BindgenBitfieldUnit<Storage>
where Storage: Ord,

source§

impl<Storage> Ord for linux_raw_sys::net::__BindgenBitfieldUnit<Storage>
where Storage: Ord,

source§

impl<Storage> Ord for mozangle::shaders::ffi::__BindgenBitfieldUnit<Storage>
where Storage: Ord,

source§

impl<Storage> Ord for script::dom::bindings::import::module::jsapi::__BindgenBitfieldUnit<Storage>
where Storage: Ord,

source§

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

1.0.0 · source§

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

1.36.0 · source§

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

1.0.0 · source§

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

1.0.0 · source§

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

1.0.0 · source§

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

Implements comparison of slices lexicographically.

1.0.0 · source§

impl<T> Ord for (T₁, T₂, …, Tₙ)
where T: Ord + ?Sized,

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

source§

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

source§

impl<T> Ord for AtomicRefCell<T>
where T: Ord + ?Sized,

source§

impl<T> Ord for Shared<'_, T>
where T: Pointable + ?Sized,

source§

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

source§

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

source§

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

source§

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

source§

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

source§

impl<T> Ord for Handle<T>

source§

impl<T> Ord for servo_arc::Arc<T>
where T: Ord + ?Sized,

source§

impl<T> Ord for ThinVec<T>
where T: Ord,

source§

impl<T> Ord for Ascii<T>
where T: AsRef<str>,

source§

impl<T> Ord for UniCase<T>
where T: AsRef<str>,

source§

impl<T> Ord for Id<T>
where T: Marker,

source§

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

source§

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

source§

impl<T> Ord for Unalign<T>
where T: Unaligned + Ord,

source§

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

1.10.0 · source§

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

1.25.0 · source§

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

1.10.0 · source§

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

1.0.0 · source§

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

1.20.0 · source§

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

1.28.0 · source§

impl<T> Ord for NonZero<T>

1.74.0 · source§

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

1.0.0 · source§

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

1.19.0 · source§

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

source§

impl<T, A> Ord for allocator_api2::stable::boxed::Box<T, A>
where T: Ord + ?Sized, A: Allocator,

source§

impl<T, A> Ord for allocator_api2::stable::vec::Vec<T, A>
where T: Ord, A: Allocator,

Implements ordering of vectors, lexicographically.

1.0.0 · source§

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

1.0.0 · source§

impl<T, A> Ord for alloc::boxed::Box<T, A>
where T: Ord + ?Sized, A: Allocator,

1.0.0 · source§

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

1.0.0 · source§

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

1.0.0 · source§

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

1.0.0 · source§

impl<T, A> Ord for alloc::sync::Arc<T, A>
where T: Ord + ?Sized, A: Allocator,

1.0.0 · source§

impl<T, A> Ord for alloc::vec::Vec<T, A>
where T: Ord, A: Allocator,

Implements ordering of vectors, lexicographically.

source§

impl<T, B> Ord for Ref<B, [T]>
where B: ByteSlice, T: FromBytes + Ord,

source§

impl<T, B> Ord for Ref<B, T>
where B: ByteSlice, T: FromBytes + Ord,

1.0.0 · source§

impl<T, E> Ord for core::result::Result<T, E>
where T: Ord, E: Ord,

source§

impl<T, F> Ord for VarZeroSlice<T, F>
where T: VarULE + Ord + ?Sized, F: VarZeroVecFormat,

source§

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

source§

impl<T, Src, Dst> Ord for Scale<T, Src, Dst>
where T: Ord,

source§

impl<T, U> Ord for Length<T, U>
where T: Ord,

source§

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

1.0.0 · source§

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

Implements comparison of arrays lexicographically.

source§

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

source§

impl<T: Ord> Ord for NoTrace<T>

source§

impl<Tz> Ord for chrono::date::Date<Tz>
where Tz: TimeZone,

source§

impl<Tz> Ord for chrono::datetime::DateTime<Tz>
where Tz: TimeZone,

source§

impl<U> Ord for NInt<U>
where U: Ord + Unsigned + NonZero,

source§

impl<U> Ord for PInt<U>
where U: Ord + Unsigned + NonZero,

source§

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

source§

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

source§

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

source§

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

source§

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

source§

impl<const MIN: i8, const MAX: i8> Ord for OptionRangedI8<MIN, MAX>

source§

impl<const MIN: i8, const MAX: i8> Ord for RangedI8<MIN, MAX>

source§

impl<const MIN: i16, const MAX: i16> Ord for OptionRangedI16<MIN, MAX>

source§

impl<const MIN: i16, const MAX: i16> Ord for RangedI16<MIN, MAX>

source§

impl<const MIN: i32, const MAX: i32> Ord for OptionRangedI32<MIN, MAX>

source§

impl<const MIN: i32, const MAX: i32> Ord for RangedI32<MIN, MAX>

source§

impl<const MIN: i64, const MAX: i64> Ord for OptionRangedI64<MIN, MAX>

source§

impl<const MIN: i64, const MAX: i64> Ord for RangedI64<MIN, MAX>

source§

impl<const MIN: i128, const MAX: i128> Ord for OptionRangedI128<MIN, MAX>

source§

impl<const MIN: i128, const MAX: i128> Ord for RangedI128<MIN, MAX>

source§

impl<const MIN: isize, const MAX: isize> Ord for OptionRangedIsize<MIN, MAX>

source§

impl<const MIN: isize, const MAX: isize> Ord for RangedIsize<MIN, MAX>

source§

impl<const MIN: u8, const MAX: u8> Ord for OptionRangedU8<MIN, MAX>

source§

impl<const MIN: u8, const MAX: u8> Ord for RangedU8<MIN, MAX>

source§

impl<const MIN: u16, const MAX: u16> Ord for OptionRangedU16<MIN, MAX>

source§

impl<const MIN: u16, const MAX: u16> Ord for RangedU16<MIN, MAX>

source§

impl<const MIN: u32, const MAX: u32> Ord for OptionRangedU32<MIN, MAX>

source§

impl<const MIN: u32, const MAX: u32> Ord for RangedU32<MIN, MAX>

source§

impl<const MIN: u64, const MAX: u64> Ord for OptionRangedU64<MIN, MAX>

source§

impl<const MIN: u64, const MAX: u64> Ord for RangedU64<MIN, MAX>

source§

impl<const MIN: u128, const MAX: u128> Ord for OptionRangedU128<MIN, MAX>

source§

impl<const MIN: u128, const MAX: u128> Ord for RangedU128<MIN, MAX>

source§

impl<const MIN: usize, const MAX: usize> Ord for OptionRangedUsize<MIN, MAX>

source§

impl<const MIN: usize, const MAX: usize> Ord for RangedUsize<MIN, MAX>

source§

impl<const N: usize> Ord for ByteArray<N>

source§

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

source§

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

source§

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

source§

impl<const SIZE: usize> Ord for WriteBuffer<SIZE>