pub struct CashflowPeriod { /* private fields */ }
Implementations§
Source§impl CashflowPeriod
impl CashflowPeriod
pub fn rate(&self) -> f64
pub fn period(&self) -> u32
pub fn payment(&self) -> f64
pub fn payments_to_date(&self) -> f64
pub fn payments_remaining(&self) -> f64
pub fn principal(&self) -> f64
pub fn principal_to_date(&self) -> f64
pub fn principal_remaining(&self) -> f64
pub fn interest(&self) -> f64
pub fn interest_to_date(&self) -> f64
pub fn interest_remaining(&self) -> f64
pub fn due_at_beginning(&self) -> bool
pub fn formula(&self) -> &str
pub fn symbolic_formula(&self) -> &str
pub fn print_flat(&self, precision: usize)
Trait Implementations§
Source§impl Clone for CashflowPeriod
impl Clone for CashflowPeriod
Source§fn clone(&self) -> CashflowPeriod
fn clone(&self) -> CashflowPeriod
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for CashflowPeriod
impl RefUnwindSafe for CashflowPeriod
impl Send for CashflowPeriod
impl Sync for CashflowPeriod
impl Unpin for CashflowPeriod
impl UnwindSafe for CashflowPeriod
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more