Struct clippy_config::types::MacroMatcher
source · pub struct MacroMatcher {
pub name: String,
pub braces: (String, String),
}Fields§
§name: String§braces: (String, String)Trait Implementations§
source§impl Clone for MacroMatcher
impl Clone for MacroMatcher
source§fn clone(&self) -> MacroMatcher
fn clone(&self) -> MacroMatcher
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 MacroMatcher
impl Debug for MacroMatcher
source§impl<'de> Deserialize<'de> for MacroMatcher
impl<'de> Deserialize<'de> for MacroMatcher
source§fn deserialize<D>(deser: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deser: D) -> Result<Self, D::Error>where D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for MacroMatcher
impl Hash for MacroMatcher
source§impl PartialEq for MacroMatcher
impl PartialEq for MacroMatcher
source§impl Serialize for MacroMatcher
impl Serialize for MacroMatcher
impl Eq for MacroMatcher
Auto Trait Implementations§
impl RefUnwindSafe for MacroMatcher
impl Send for MacroMatcher
impl Sync for MacroMatcher
impl Unpin for MacroMatcher
impl UnwindSafe for MacroMatcher
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 Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§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 Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§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: 72 bytes