Crate inertia_core

Source

Re-exports§

pub use ratfunc::*;
pub use binquad::*;
pub use numfld::*;

Modules§

arb
arf
binquad
mag
numfld
ratfunc

Macros§

impl_assign
Macros for implementing Assign for in-place assignment.
impl_binop
Macros for overloading binary operators.
impl_cmp
Macros for overloading comparison operators
impl_from
Macros for implementing From for conversions.
impl_tryfrom
Macros for implementing TryFrom for conversions.
impl_unop
Macros for overloading unary operators.

Structs§

Acb
Arb
FinFldCtx
FinFldElem
FinFldMat
FinFldPoly
IntMat
IntMod
IntModCtx
IntModMat
IntModPoly
IntPoly
Integer
Range
A (half-open) range bounded inclusively below and exclusively above (start..end).
RangeFrom
A range only bounded inclusively below (start..).
RangeFull
An unbounded range (..).
RangeInclusive
A range bounded inclusively below and above (start..=end).
RangeTo
A range only bounded exclusively above (..end).
RangeToInclusive
A range only bounded inclusively above (..=end).
RatMat
RatPoly
Rational
YeetExperimental
Implement FromResidual<Yeet<T>> on your type to enable do yeet expr syntax in functions returning your type.

Enums§

Bound
An endpoint of a range of keys.
ControlFlow
Used to tell an operation whether it should exit early or go on as usual.
CoroutineStateExperimental
The result of a coroutine resumption.
OneSidedRangeBoundExperimental
An internal helper for split_off functions indicating which end a OneSidedRange is bounded on.

Traits§

Add
The addition operator +.
AddAssign
The addition assignment operator +=.
AddFrom
Addition with assignment to the rhs operand.
AddOps
Assign
Assign to self. Not meant for expensive conversion.
AssignAdd
Addition with assignment into a separate argument.
AssignBitAnd
Bitwise and with assignment into a separate argument.
AssignBitOr
Bitwise or with assignment into a separate argument.
AssignBitXor
Bitwise xor with assignment into a separate argument.
AssignDiv
Division with assignment into a separate argument.
AssignEvaluate
Evaluation of an expression with assignment into a separate argument.
AssignEvaluateMod
Modular evaluation of an expression with assignment into a separate argument.
AssignInv
Inverse with assignment into a separate argument.
AssignMul
Multiplication with assignment into a separate argument.
AssignNeg
Negation with assignment into a separate argument.
AssignNot
Complement with assignment into a separate argument.
AssignPow
Exponentiation with assignment into a separate argument.
AssignRem
Remainder with assignment into a separate argument.
AssignSub
Subtraction with assignment into a separate argument.
AsyncFn
An async-aware version of the Fn trait.
AsyncFnMut
An async-aware version of the FnMut trait.
AsyncFnOnce
An async-aware version of the FnOnce trait.
BitAnd
The bitwise AND operator &.
BitAndAssign
The bitwise AND assignment operator &=.
BitAndFrom
Bitwise and with assignment to the rhs operand.
BitOr
The bitwise OR operator |.
BitOrAssign
The bitwise OR assignment operator |=.
BitOrFrom
Bitwise or with assignment to the rhs operand.
BitXor
The bitwise XOR operator ^.
BitXorAssign
The bitwise XOR assignment operator ^=.
BitXorFrom
Bitwise xor with assignment to the rhs operand.
Deref
Used for immutable dereferencing operations, like *v.
DerefMut
Used for mutable dereferencing operations, like in *v = 1;.
Div
The division operator /.
DivAssign
The division assignment operator /=.
DivFrom
Division with assignment to the rhs operand.
DivOps
Drop
Custom code within the destructor.
Evaluate
Evaluation of an expression.
EvaluateMod
Modular evaluation of an expression.
Fn
The version of the call operator that takes an immutable receiver.
FnMut
The version of the call operator that takes a mutable receiver.
FnOnce
The version of the call operator that takes a by-value receiver.
Index
Used for indexing operations (container[index]) in immutable contexts.
IndexMut
Used for indexing operations (container[index]) in mutable contexts.
Inv
Inverse as a unary operation.
InvAssign
Inverse with assignment.
InvOps
Mul
The multiplication operator *.
MulAssign
The multiplication assignment operator *=.
MulFrom
Multiplication with assignment to the rhs operand.
MulOps
Neg
The unary negation operator -.
NegAssign
Negation with assignment.
NegOps
New
NewCtx
NewMatrix
Not
The unary logical negation operator !.
NotAssign
Complement with assignment.
Pow
Exponentiation.
PowAssign
Exponentiation with assignment.
PowFrom
Exponentiation with assignment to the rhs operand.
RangeBounds
RangeBounds is implemented by Rust’s built-in range types, produced by range syntax like .., a.., ..b, ..=c, d..e, or f..=g.
Rem
The remainder operator %.
RemAssign
The remainder assignment operator %=.
RemFrom
Remainder with assignment to the rhs operand.
Shl
The left shift operator <<. Note that because this trait is implemented for all integer types with multiple right-hand-side types, Rust’s type checker has special handling for _ << _, setting the result type for integer operations to the type of the left-hand-side operand. This means that though a << b and a.shl(b) are one and the same from an evaluation standpoint, they are different when it comes to type inference.
ShlAssign
The left shift assignment operator <<=.
Shr
The right shift operator >>. Note that because this trait is implemented for all integer types with multiple right-hand-side types, Rust’s type checker has special handling for _ >> _, setting the result type for integer operations to the type of the left-hand-side operand. This means that though a >> b and a.shr(b) are one and the same from an evaluation standpoint, they are different when it comes to type inference.
ShrAssign
The right shift assignment operator >>=.
Sub
The subtraction operator -.
SubAssign
The subtraction assignment operator -=.
SubFrom
Subtraction with assignment to the rhs operand.
SubOps
CoerceUnsizedExperimental
Trait that indicates that this is a pointer or a wrapper for one, where unsizing can be performed on the pointee.
CoroutineExperimental
The trait implemented by builtin coroutine types.
DerefPureExperimental
Perma-unstable marker trait. Indicates that the type has a well-behaved Deref (and, if applicable, DerefMut) implementation. This is relied on for soundness of deref patterns.
DispatchFromDynExperimental
DispatchFromDyn is used in the implementation of dyn-compatibility checks (specifically allowing arbitrary self types), to guarantee that a method’s receiver type can be dispatched on.
FromResidualExperimental
Used to specify which residuals can be converted into which crate::ops::Try types.
IntoBoundsExperimental
Used to convert a range into start and end bounds, consuming the range by value.
OneSidedRangeExperimental
OneSidedRange is implemented for built-in range types that are unbounded on one side. For example, a.., ..b and ..=c implement OneSidedRange, but .., d..e, and f..=g do not.
ReceiverExperimental
Indicates that a struct can be used as a method receiver. That is, a type can use this type as a type of self, like this:
ResidualExperimental
Allows retrieving the canonical type implementing Try that has this type as its residual and allows it to hold an O as its output.
TryExperimental
The ? operator and try {} blocks.

Type Aliases§

Complex
Real