Enum Amortisation
pub enum Amortisation {
StraightLine,
}Expand description
How a loan repays its principal before maturity, when it does.
Variants§
StraightLine
Equal repayments: over n periods, N/n at each period’s end, so the
outstanding falls in a straight line to zero.
Implementations§
§impl Amortisation
impl Amortisation
Trait Implementations§
§impl Clone for Amortisation
impl Clone for Amortisation
§fn clone(&self) -> Amortisation
fn clone(&self) -> Amortisation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for Amortisation
§impl Debug for Amortisation
impl Debug for Amortisation
impl Eq for Amortisation
§impl FromStr for Amortisation
impl FromStr for Amortisation
§impl PartialEq for Amortisation
impl PartialEq for Amortisation
impl StructuralPartialEq for Amortisation
Auto Trait Implementations§
impl Freeze for Amortisation
impl RefUnwindSafe for Amortisation
impl Send for Amortisation
impl Sync for Amortisation
impl Unpin for Amortisation
impl UnsafeUnpin for Amortisation
impl UnwindSafe for Amortisation
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