Available on crate feature
cmp only.Expand description
Comparisong-related items.
Re-exports
pub use crate::polymorphism::kinds::IsNotStdKind;pub use crate::polymorphism::kinds::IsRefKind;pub use crate::polymorphism::kinds::IsStdKind;Structs
A wrapper type for std types, which defines
const_eq and const_cmp methods for them.Hack used to automatically wrap standard library types inside
CmpWrapper,
while leaving user defined types unwrapped.Traits
Marker trait for types that implement the const comparison methods.
A helper trait of
ConstCmp, used for dereferencing.