pub struct RegressionLimits { /* private fields */ }Implementations§
Source§impl RegressionLimits
impl RegressionLimits
pub fn per_file(&self) -> bool
pub fn with_per_file(self, per_file: bool) -> RegressionLimits
pub fn limit(&self, source_set: SourceSet, metric: Metric) -> RegressionLimit
pub fn limit_for_key( &self, source_set: SourceSet, metric_key: &str, ) -> RegressionLimit
pub fn limit_for_dependency(&self, metric_key: &str) -> RegressionLimit
Trait Implementations§
Source§impl Clone for RegressionLimits
impl Clone for RegressionLimits
Source§impl Debug for RegressionLimits
impl Debug for RegressionLimits
Source§impl Default for RegressionLimits
impl Default for RegressionLimits
Source§impl PartialEq for RegressionLimits
impl PartialEq for RegressionLimits
impl StructuralPartialEq for RegressionLimits
Auto Trait Implementations§
impl Forget for RegressionLimits
impl Freeze for RegressionLimitswhere
*const u8 is !null: Freeze,
PhantomData<(String, RegressionLimitSetting)>: Freeze,
PhantomData<(SourceSet, String, RegressionLimitSetting)>: Freeze,
impl Move for RegressionLimits
impl RefUnwindSafe for RegressionLimits
impl Send for RegressionLimitswhere
RawVecInner: Send,
impl Sync for RegressionLimitswhere
RawVecInner: Sync,
impl Unpin for RegressionLimits
impl UnsafeUnpin for RegressionLimitswhere
*const u8 is !null: UnsafeUnpin,
PhantomData<(String, RegressionLimitSetting)>: UnsafeUnpin,
PhantomData<(SourceSet, String, RegressionLimitSetting)>: UnsafeUnpin,
impl UnwindSafe for RegressionLimitswhere
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