pub enum ProcMacroKind {
CustomDerive,
FuncLike,
Attr,
}Variants§
Trait Implementations§
source§impl Clone for ProcMacroKind
impl Clone for ProcMacroKind
source§fn clone(&self) -> ProcMacroKind
fn clone(&self) -> ProcMacroKind
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 ProcMacroKind
impl Debug for ProcMacroKind
source§impl<'de> Deserialize<'de> for ProcMacroKind
impl<'de> Deserialize<'de> for ProcMacroKind
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 ProcMacroKind
impl PartialEq for ProcMacroKind
source§fn eq(&self, other: &ProcMacroKind) -> bool
fn eq(&self, other: &ProcMacroKind) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for ProcMacroKind
impl Serialize for ProcMacroKind
impl Copy for ProcMacroKind
impl Eq for ProcMacroKind
impl StructuralEq for ProcMacroKind
impl StructuralPartialEq for ProcMacroKind
Auto Trait Implementations§
impl RefUnwindSafe for ProcMacroKind
impl Send for ProcMacroKind
impl Sync for ProcMacroKind
impl Unpin for ProcMacroKind
impl UnwindSafe for ProcMacroKind
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