pub struct MineOptions {
pub kind: MineKind,
pub project: String,
pub lake_root: Utf8PathBuf,
pub recursive: bool,
pub timeout: Duration,
pub exclude: Vec<String>,
}Expand description
Runtime options for a mine run.
Fields§
§kind: MineKindWhat to mine.
project: StringProject name stamped onto every task.
lake_root: Utf8PathBufLake workspace root, also used to derive module names.
recursive: boolSearch directories recursively.
timeout: DurationPer-file Lean timeout for error mining.
exclude: Vec<String>Path substrings to skip during discovery.
Implementations§
Source§impl MineOptions
impl MineOptions
Sourcepub fn new(kind: MineKind, project: String, lake_root: Utf8PathBuf) -> Self
pub fn new(kind: MineKind, project: String, lake_root: Utf8PathBuf) -> Self
Build options for kind rooted at lake_root, with the build directory
excluded and a sixty-second per-file timeout.
Trait Implementations§
Source§impl Clone for MineOptions
impl Clone for MineOptions
Source§fn clone(&self) -> MineOptions
fn clone(&self) -> MineOptions
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 MineOptions
impl Debug for MineOptions
impl Eq for MineOptions
Source§impl PartialEq for MineOptions
impl PartialEq for MineOptions
Source§fn eq(&self, other: &MineOptions) -> bool
fn eq(&self, other: &MineOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MineOptions
Auto Trait Implementations§
impl Freeze for MineOptions
impl RefUnwindSafe for MineOptions
impl Send for MineOptions
impl Sync for MineOptions
impl Unpin for MineOptions
impl UnsafeUnpin for MineOptions
impl UnwindSafe for MineOptions
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