pub struct ElemCashflowStats { /* private fields */ }
Implementations
impl ElemCashflowStats
impl ElemCashflowStats
The cashflow statistics element implementation.
pub fn new(
current_values_param: usize,
interest_changes_param: usize,
principal_changes_param: usize,
statistic_values_param: usize
) -> ElemCashflowStats
pub fn new(
current_values_param: usize,
interest_changes_param: usize,
principal_changes_param: usize,
statistic_values_param: usize
) -> ElemCashflowStats
Create and return a new cashflow statistics element.
Arguments
current_values_param
- Number of current value events.interest_changes_param
- Number of interest change events.principal_changes_param
- Number of principal change events.statistic_values_param
- Number of statistic value events.
Return
- See description.
pub fn current_values(&self) -> usize
pub fn current_values(&self) -> usize
Return the number of current value events.
pub fn interest_changes(&self) -> usize
pub fn interest_changes(&self) -> usize
Return the number of interest change events.
pub fn principal_changes(&self) -> usize
pub fn principal_changes(&self) -> usize
Return the number of principal change events.
pub fn statistic_values(&self) -> usize
pub fn statistic_values(&self) -> usize
Return the number of statistic value events.
Auto Trait Implementations
impl RefUnwindSafe for ElemCashflowStats
impl Send for ElemCashflowStats
impl Sync for ElemCashflowStats
impl Unpin for ElemCashflowStats
impl UnwindSafe for ElemCashflowStats
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more