[−][src]Module argmin::prelude
Definition of all relevant traits and types
Reexport of all relevant traits
Put argmin::prelude::*
on top of your code to get all relevant traits into scope.
Reexports
pub use crate::core::*; 
Modules
bounds  
cast  
float  
identities  
int  
ops  
pow  
real  
sign 
Structs
ParseFloatError 
Enums
FloatErrorKind 
Traits
AsPrimitive  A generic interface for casting between machine scalars with the

Bounded  Numbers which have upper and lower bounds 
CheckedAdd  Performs addition that returns 
CheckedDiv  Performs division that returns 
CheckedMul  Performs multiplication that returns 
CheckedNeg  Performs negation that returns 
CheckedRem  Performs an integral remainder that returns 
CheckedShl  Performs a left shift that returns 
CheckedShr  Performs a right shift that returns 
CheckedSub  Performs subtraction that returns 
Float  Generic trait for floating point numbers 
FloatConst  
FromPrimitive  A generic trait for converting a number to a value. 
Inv  Unary operator for retrieving the multiplicative inverse, or reciprocal, of a value. 
MulAdd  Fused multiplyadd. Computes 
MulAddAssign  The fused multiplyadd assignment operation. 
Num  The base trait for numeric types, covering 
NumAssign  The trait for 
NumAssignOps  The trait for types implementing numeric assignment operators (like 
NumAssignRef  The trait for 
NumCast  An interface for casting between machine scalars. 
NumOps  The trait for types implementing basic numeric operations 
NumRef  The trait for 
One  Defines a multiplicative identity element for 
Pow  Binary operator for raising a value to a power. 
PrimInt  Generic trait for primitive integers. 
RefNum  The trait for references which implement numeric operations, taking the second operand either by value or by reference. 
Saturating  Saturating math operations 
Signed  Useful functions for signed numbers (i.e. numbers that can be negative). 
ToPrimitive  A generic trait for converting a value to a number. 
Unsigned  A trait for values which cannot be negative 
WrappingAdd  Performs addition that wraps around on overflow. 
WrappingMul  Performs multiplication that wraps around on overflow. 
WrappingShl  Performs a left shift that does not panic. 
WrappingShr  Performs a right shift that does not panic. 
WrappingSub  Performs subtraction that wraps around on overflow. 
Zero  Defines an additive identity element for 
Functions
abs  Computes the absolute value. 
abs_sub  The positive difference of two numbers. 
cast  Cast from one machine scalar to another. 
checked_pow  Raises a value to the power of exp, returning 
clamp  A value bounded by a minimum and a maximum 
clamp_max  A value bounded by a maximum value 
clamp_min  A value bounded by a minimum value 
one  Returns the multiplicative identity, 
pow  Raises a value to the power of exp, using exponentiation by squaring. 
signum  Returns the sign of the number. 
zero  Returns the additive identity, 