pub struct Matrix {
pub line: usize,
pub jobs: u64,
pub at_least: bool,
pub jobs_hi: Option<u64>,
pub axes: Vec<MatrixAxis>,
}Expand description
How many jobs one strategy.matrix starts.
jobs is the expanded combination count. When an axis value is a
${{ ... }} expression, at_least is set and jobs is the product of the
other axes (each expression axis contributes at least one value).
A dynamic exclude stores a finite upper bound in jobs_hi and the lower
bound in jobs.
Fields§
§line: usizeLine of the matrix: key.
jobs: u64Exact count, or the lower bound when at_least or jobs_hi is set.
at_least: bool§jobs_hi: Option<u64>Finite upper bound, present only when it is greater than jobs.
axes: Vec<MatrixAxis>Literal axis and include values, used to resolve matrix.<name> in runs-on.
Trait Implementations§
impl Eq for Matrix
impl StructuralPartialEq for Matrix
Auto Trait Implementations§
impl Freeze for Matrix
impl RefUnwindSafe for Matrix
impl Send for Matrix
impl Sync for Matrix
impl Unpin for Matrix
impl UnsafeUnpin for Matrix
impl UnwindSafe for Matrix
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