pub struct MatrixEntry {
pub profile_id: &'static str,
pub axis: CapabilityAxis,
pub state: CapabilityState,
pub denominator: u32,
pub excluded: u32,
}Expand description
One (profile, axis) cell: the state it holds, and the denominator/ exclusion counts a run against it reported.
A profile never registered against an axis simply has no entry – absence, not a zero disguised as a measurement.
Fields§
§profile_id: &'static strThe profile this cell belongs to.
axis: CapabilityAxisThe capability axis this cell belongs to.
state: CapabilityStateThe state this cell holds.
denominator: u32How many obligations were requested for this cell.
excluded: u32How many requested obligations were excluded from scoring.
Trait Implementations§
Source§impl Clone for MatrixEntry
impl Clone for MatrixEntry
Auto Trait Implementations§
impl Freeze for MatrixEntry
impl RefUnwindSafe for MatrixEntry
impl Send for MatrixEntry
impl Sync for MatrixEntry
impl Unpin for MatrixEntry
impl UnsafeUnpin for MatrixEntry
impl UnwindSafe for MatrixEntry
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more