pub struct Options {
pub thread_limit: Option<usize>,
pub check: SafetyCheck,
}
Expand description
Traversal options for traverse_with_index()
Fields
thread_limit: Option<usize>
If Some
, only use the given amount of threads. Otherwise, the amount of threads to use will be selected based on
the amount of available logical cores.
check: SafetyCheck
The kinds of safety checks to perform.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnwindSafe for Options
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more