Enum TrancheMark
pub enum TrancheMark {
Contract(f64),
Market,
}Expand description
A tranche model input as a caller spells it: a number, the contract’s,
or "Market", the market’s mark for the tranche’s index.
Variants§
Trait Implementations§
§impl Clone for TrancheMark
impl Clone for TrancheMark
§fn clone(&self) -> TrancheMark
fn clone(&self) -> TrancheMark
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 TrancheMark
§impl Debug for TrancheMark
impl Debug for TrancheMark
§impl From<f64> for TrancheMark
impl From<f64> for TrancheMark
§impl FromStr for TrancheMark
"Market", or a number read as a contract value.
impl FromStr for TrancheMark
"Market", or a number read as a contract value.
§impl PartialEq for TrancheMark
impl PartialEq for TrancheMark
impl StructuralPartialEq for TrancheMark
Auto Trait Implementations§
impl Freeze for TrancheMark
impl RefUnwindSafe for TrancheMark
impl Send for TrancheMark
impl Sync for TrancheMark
impl Unpin for TrancheMark
impl UnsafeUnpin for TrancheMark
impl UnwindSafe for TrancheMark
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