pub enum NodeModulesState {
Present,
Missing,
}Expand description
Whether the project had a node_modules directory at a point in time.
A dead-code baseline records this when it is saved, so a later run in a different install state can say that its results can differ.
Variants§
Present
node_modules existed, or the project legitimately runs without it.
Missing
node_modules did not exist.
Implementations§
Trait Implementations§
Source§impl Clone for NodeModulesState
impl Clone for NodeModulesState
impl Copy for NodeModulesState
Source§impl Debug for NodeModulesState
impl Debug for NodeModulesState
Source§impl<'de> Deserialize<'de> for NodeModulesState
impl<'de> Deserialize<'de> for NodeModulesState
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for NodeModulesState
Source§impl Hash for NodeModulesState
impl Hash for NodeModulesState
Source§impl PartialEq for NodeModulesState
impl PartialEq for NodeModulesState
Source§impl Serialize for NodeModulesState
impl Serialize for NodeModulesState
impl StructuralPartialEq for NodeModulesState
Auto Trait Implementations§
impl Freeze for NodeModulesState
impl RefUnwindSafe for NodeModulesState
impl Send for NodeModulesState
impl Sync for NodeModulesState
impl Unpin for NodeModulesState
impl UnsafeUnpin for NodeModulesState
impl UnwindSafe for NodeModulesState
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.