pub struct Lens {
pub lens_type: LensType,
/* private fields */
}Fields§
§lens_type: LensTypeImplementations§
Source§impl Lens
impl Lens
pub fn failures() -> Self
pub fn bottlenecks() -> Self
pub fn toolchains() -> Self
pub fn loops() -> Self
pub fn matches(&self, metrics: &SessionMetrics, thresholds: &Thresholds) -> bool
pub fn score(&self, metrics: &SessionMetrics, recency_boost: u32) -> i64
pub fn reason(&self, metrics: &SessionMetrics) -> String
Auto Trait Implementations§
impl Freeze for Lens
impl !RefUnwindSafe for Lens
impl !Send for Lens
impl !Sync for Lens
impl Unpin for Lens
impl !UnwindSafe for Lens
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