Expand description
Traits for ordered structures
Traits§
- AddOrdered
- A marker trait signifying that for
x > y,x+z > x+zandz+x > z+xfor allz - Archimedean
Div - Division with remainder using an ordering and the Archimedean Property
- Archimedean
Property - The property that if
x < y, there exists some naturalnwheren*x = x*...*x > y - MulOrdered
- A marker trait signifying that for
x > y,x*z > x*zandz*x > z*xfor allz > 0 - Ord
- Trait for types that form a total order.
- Partial
Ord - Trait for types that form a partial order.
- Sign
- Helpful methods for manipulating an element’s order relative to 0
- Signed
- Helpful methods for measuring an element’s order relative to 0
Derive Macros§
- Ord
- Derive macro generating an impl of the trait
Ord. The behavior of this macro is described in detail here. - Partial
Ord - Derive macro generating an impl of the trait
PartialOrd. The behavior of this macro is described in detail here.
Trait Aliases§
- Arch
Abelian Group - An ordered abeliean group with the Archimedean property
- Arch
Commutative Ring - An ordered commutative ring with the Archimedean property and Archimedean division
- Arch
Commutative Semiring - An ordered commutative semiring with the Archimedean property and Archimedean division
- Arch
Division Ring - An ordered division ring with the Archimedean property and Archimedean division
- Arch
Division Semiring - An ordered division semiring with the Archimedean property and Archimedean division
- Arch
Field - An ordered field ring with the Archimedean property and Archimedean division
- Arch
Group - An ordered group with the Archimedean property
- Arch
Monoid - An ordered monoid with the Archimedean property
- Arch
Ring - An ordered ring with the Archimedean property
- Arch
Semigroup - An ordered semigroup with the Archimedean property
- Arch
Semiring - An ordered semiring with the Archimedean property
- Arch
Unital Ring - An ordered unital ring with the Archimedean property and Archimedean division
- Arch
Unital Semiring - An ordered unital semiring with the Archimedean property and Archimedean division
- OrdAbelian
Group - An additive abelian group with an ordered addition operation
- OrdCommutative
Ring - A commutative ring with ordered addition and multiplication
- OrdCommutative
Semiring - A commutative semiring with ordered addition and multiplication
- OrdDivision
Ring - A division ring with ordered addition and multiplication
- OrdDivision
Semiring - A division semiring with ordered addition and multiplication
- OrdField
- A field with ordered addition and multiplication
- OrdGroup
- An additive group with an ordered addition operation
- OrdLoop
- An additive loop with an ordered addition operation
- OrdMagma
- An additive magma with an ordered addition operation
- OrdMonoid
- An additive monoid with an ordered addition operation
- OrdRing
- A ring with ordered addition and multiplication
- OrdSemigroup
- An additive semigroup with an ordered addition operation
- OrdSemiring
- A semiring with ordered addition and multiplication
- OrdUnital
Ring - A unital ring with ordered addition and multiplication
- OrdUnital
Semiring - A unitial semiring with ordered addition and multiplication