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