pub enum ConstantParameterEvidence {
TypeAware,
}Expand description
The evidence that a ConstantParameter finding needs beyond the
syntactic call facts.
Variants§
TypeAware
The TypeScript checker gave the evidence: the calls of a class
method, or the argument types of an unused-default finding. A type
does not prove a run-time value: an any value, a cast, or data from
outside the program can break it.
Implementations§
Trait Implementations§
Source§impl Clone for ConstantParameterEvidence
impl Clone for ConstantParameterEvidence
impl Copy for ConstantParameterEvidence
Source§impl Debug for ConstantParameterEvidence
impl Debug for ConstantParameterEvidence
Source§impl<'de> Deserialize<'de> for ConstantParameterEvidence
impl<'de> Deserialize<'de> for ConstantParameterEvidence
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 ConstantParameterEvidence
Source§impl Hash for ConstantParameterEvidence
impl Hash for ConstantParameterEvidence
impl StructuralPartialEq for ConstantParameterEvidence
Auto Trait Implementations§
impl Forget for ConstantParameterEvidence
impl Freeze for ConstantParameterEvidence
impl Move for ConstantParameterEvidence
impl RefUnwindSafe for ConstantParameterEvidence
impl Send for ConstantParameterEvidence
impl Sync for ConstantParameterEvidence
impl Unpin for ConstantParameterEvidence
impl UnsafeUnpin for ConstantParameterEvidence
impl UnwindSafe for ConstantParameterEvidence
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.