pub struct Budgets { /* private fields */ }Implementations§
Source§impl Budgets
impl Budgets
pub fn is_empty(&self) -> bool
pub fn budget(&self, source_set: SourceSet, metric: Metric) -> Option<Budget>
pub fn budget_for_key( &self, source_set: SourceSet, metric_key: &str, ) -> Option<Budget>
pub fn production_test_gap(&self) -> Option<f64>
pub fn dependency_budget(&self, metric_key: &str) -> Option<Budget>
Trait Implementations§
Auto Trait Implementations§
impl Forget for Budgets
impl Freeze for Budgets
impl Move for Budgets
impl RefUnwindSafe for Budgets
impl Send for Budgetswhere
RawVecInner: Send,
impl Sync for Budgetswhere
RawVecInner: Sync,
impl Unpin for Budgets
impl UnsafeUnpin for Budgetswhere
*const u8 is !null: UnsafeUnpin,
PhantomData<(SourceSet, String, Budget)>: UnsafeUnpin,
PhantomData<(String, Budget)>: UnsafeUnpin,
impl UnwindSafe for Budgetswhere
RawVecInner: UnwindSafe,
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