pub struct ScribbleConfig { /* private fields */ }Expand description
Empty targets / kinds / include_*
mean “no restriction”; populated lists
are filters.
Implementations§
Source§impl ScribbleConfig
impl ScribbleConfig
pub fn cases(self, cases: u32) -> Self
pub fn target(self, target: Target) -> Self
pub fn targets<I: IntoIterator<Item = Target>>(self, targets: I) -> Self
pub fn mutations<I: IntoIterator<Item = MutationKind>>(self, kinds: I) -> Self
pub fn include_cols<I: IntoIterator<Item = usize>>(self, cols: I) -> Self
pub fn exclude_cols<I: IntoIterator<Item = usize>>(self, cols: I) -> Self
pub fn include_rows<I: IntoIterator<Item = usize>>(self, rows: I) -> Self
pub fn exclude_rows<I: IntoIterator<Item = usize>>(self, rows: I) -> Self
pub fn case_count(&self) -> u32
pub fn is_target_allowed(&self, target: Target) -> bool
pub fn is_kind_allowed(&self, kind: MutationKind) -> bool
pub fn is_col_allowed(&self, col: usize) -> bool
pub fn is_row_allowed(&self, row: usize) -> bool
Trait Implementations§
Source§impl Clone for ScribbleConfig
impl Clone for ScribbleConfig
Source§fn clone(&self) -> ScribbleConfig
fn clone(&self) -> ScribbleConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ScribbleConfig
impl Debug for ScribbleConfig
Auto Trait Implementations§
impl Freeze for ScribbleConfig
impl RefUnwindSafe for ScribbleConfig
impl Send for ScribbleConfig
impl Sync for ScribbleConfig
impl Unpin for ScribbleConfig
impl UnsafeUnpin for ScribbleConfig
impl UnwindSafe for ScribbleConfig
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