pub struct DeadCodeParams {
pub unit_types: Vec<CodeUnitType>,
pub include_tests_as_roots: bool,
}Expand description
Parameters for Query 16: Dead Code.
Fields§
§unit_types: Vec<CodeUnitType>Consider only these unit types as potential dead code (empty = all).
include_tests_as_roots: boolWhether to include test files in reachability roots.
Trait Implementations§
Source§impl Clone for DeadCodeParams
impl Clone for DeadCodeParams
Source§fn clone(&self) -> DeadCodeParams
fn clone(&self) -> DeadCodeParams
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for DeadCodeParams
impl RefUnwindSafe for DeadCodeParams
impl Send for DeadCodeParams
impl Sync for DeadCodeParams
impl Unpin for DeadCodeParams
impl UnsafeUnpin for DeadCodeParams
impl UnwindSafe for DeadCodeParams
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