pub struct MatrixExpander;Expand description
Matrix expander for job strategies
Implementations§
Source§impl MatrixExpander
impl MatrixExpander
Sourcepub fn expand(strategy: &Strategy) -> Vec<MatrixInstance>
pub fn expand(strategy: &Strategy) -> Vec<MatrixInstance>
Expand a strategy into matrix instances
Sourcepub fn max_parallel(strategy: &Strategy) -> Option<u32>
pub fn max_parallel(strategy: &Strategy) -> Option<u32>
Get the maximum parallel limit from a strategy
Sourcepub fn has_matrix(strategy: &Strategy) -> bool
pub fn has_matrix(strategy: &Strategy) -> bool
Check if a strategy has matrix expansion
Sourcepub fn has_parallel(strategy: &Strategy) -> bool
pub fn has_parallel(strategy: &Strategy) -> bool
Check if a strategy has parallel expansion
Auto Trait Implementations§
impl Freeze for MatrixExpander
impl RefUnwindSafe for MatrixExpander
impl Send for MatrixExpander
impl Sync for MatrixExpander
impl Unpin for MatrixExpander
impl UnsafeUnpin for MatrixExpander
impl UnwindSafe for MatrixExpander
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> 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