pub struct RiskBudget { /* private fields */ }Expand description
A simple numeric risk budget value.
Implementations§
Source§impl RiskBudget
impl RiskBudget
Sourcepub const fn measure(&self) -> &RiskMeasure
pub const fn measure(&self) -> &RiskMeasure
Returns the risk measure.
Trait Implementations§
Source§impl Clone for RiskBudget
impl Clone for RiskBudget
Source§fn clone(&self) -> RiskBudget
fn clone(&self) -> RiskBudget
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 moreSource§impl Debug for RiskBudget
impl Debug for RiskBudget
Source§impl PartialEq for RiskBudget
impl PartialEq for RiskBudget
Source§fn eq(&self, other: &RiskBudget) -> bool
fn eq(&self, other: &RiskBudget) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RiskBudget
Auto Trait Implementations§
impl Freeze for RiskBudget
impl RefUnwindSafe for RiskBudget
impl Send for RiskBudget
impl Sync for RiskBudget
impl Unpin for RiskBudget
impl UnsafeUnpin for RiskBudget
impl UnwindSafe for RiskBudget
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