Struct hir_def::data::ProcMacroData
source · pub struct ProcMacroData {
pub name: Name,
pub helpers: Option<Box<[Name]>>,
}
Fields§
§name: Name
§helpers: Option<Box<[Name]>>
Derive helpers, if this is a derive
Trait Implementations§
source§impl Clone for ProcMacroData
impl Clone for ProcMacroData
source§fn clone(&self) -> ProcMacroData
fn clone(&self) -> ProcMacroData
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 ProcMacroData
impl Debug for ProcMacroData
source§impl PartialEq for ProcMacroData
impl PartialEq for ProcMacroData
source§fn eq(&self, other: &ProcMacroData) -> bool
fn eq(&self, other: &ProcMacroData) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ProcMacroData
impl StructuralPartialEq for ProcMacroData
Auto Trait Implementations§
impl Freeze for ProcMacroData
impl RefUnwindSafe for ProcMacroData
impl Send for ProcMacroData
impl Sync for ProcMacroData
impl Unpin for ProcMacroData
impl UnwindSafe for ProcMacroData
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.