Enum clippy_config::types::MatchLintBehaviour
source · pub enum MatchLintBehaviour {
AllTypes,
WellKnownTypes,
Never,
}Variants§
Trait Implementations§
source§impl Clone for MatchLintBehaviour
impl Clone for MatchLintBehaviour
source§fn clone(&self) -> MatchLintBehaviour
fn clone(&self) -> MatchLintBehaviour
Returns a copy 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 moresource§impl Debug for MatchLintBehaviour
impl Debug for MatchLintBehaviour
source§impl<'de> Deserialize<'de> for MatchLintBehaviour
impl<'de> Deserialize<'de> for MatchLintBehaviour
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
source§impl PartialEq for MatchLintBehaviour
impl PartialEq for MatchLintBehaviour
source§fn eq(&self, other: &MatchLintBehaviour) -> bool
fn eq(&self, other: &MatchLintBehaviour) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for MatchLintBehaviour
impl Serialize for MatchLintBehaviour
impl Copy for MatchLintBehaviour
impl Eq for MatchLintBehaviour
impl StructuralPartialEq for MatchLintBehaviour
Auto Trait Implementations§
impl Freeze for MatchLintBehaviour
impl RefUnwindSafe for MatchLintBehaviour
impl Send for MatchLintBehaviour
impl Sync for MatchLintBehaviour
impl Unpin for MatchLintBehaviour
impl UnwindSafe for MatchLintBehaviour
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 1 byte
Size for each variant:
AllTypes: 0 bytesWellKnownTypes: 0 bytesNever: 0 bytes