Expand description
rsfi is a financial toolkit for Rust, providing a comprehensive suite of interfaces,
operators, and other useful utilities for building financial applications.
Modules§
- error
- this module defines the core error type for the crate
- point
- traits
- Various traits used to establish a solid foundation for defining and manipulating
containers, spaces, fields, and other related abstractions. The core trait, [
RawSpace], is a fundamental building block for defining spaces (i.e. containers containing elements of a specific type). The [Container] trait builds upon [RawSpace] to provide a more robust interface for containers and higher-kinded abstractions. #![crate_type = “lib”]
Structs§
- Point
- The
Pointimplementation is designed a generic, 2-dimensional point object used to define coordinates, vectors, or positions in a 2D space.
Enums§
- Error
- The custom error type for the crate.
Traits§
- Interest
Payment - Percent
Change - A binary operator defining the percent difference between two values where given input is compared to the caller meaning the caller is said to be the original value whilst the input is said to be the new value.
- Percent
Difference
Type Aliases§
- Point
View - An instance of the
Pointimplementation containing owned references to the inner values. - Point
View Mut - An instance of the
Pointimplementation containing mutable references to the inner values. - RawPoint
- A
Pointwhose elements are raw pointers toXandY - RawPoint
Mut - A mutable
Pointwhose elements are raw pointers toXandY - Result
- a type alias for a
Resultconfigured to use the customErrortype.