Struct ra_ap_syntax::ast::MacroItems
source · pub struct MacroItems { /* private fields */ }
Trait Implementations§
source§impl AstNode for MacroItems
impl AstNode for MacroItems
fn can_cast(kind: SyntaxKind) -> bool
fn cast(syntax: SyntaxNode) -> Option<Self>
fn syntax(&self) -> &SyntaxNode
fn clone_for_update(&self) -> Selfwhere
Self: Sized,
fn clone_subtree(&self) -> Selfwhere
Self: Sized,
source§impl Clone for MacroItems
impl Clone for MacroItems
source§fn clone(&self) -> MacroItems
fn clone(&self) -> MacroItems
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 MacroItems
impl Debug for MacroItems
source§impl Display for MacroItems
impl Display for MacroItems
source§impl HasModuleItem for MacroItems
impl HasModuleItem for MacroItems
source§impl Hash for MacroItems
impl Hash for MacroItems
source§impl PartialEq for MacroItems
impl PartialEq for MacroItems
source§fn eq(&self, other: &MacroItems) -> bool
fn eq(&self, other: &MacroItems) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for MacroItems
impl StructuralPartialEq for MacroItems
Auto Trait Implementations§
impl Freeze for MacroItems
impl !RefUnwindSafe for MacroItems
impl !Send for MacroItems
impl !Sync for MacroItems
impl Unpin for MacroItems
impl !UnwindSafe for MacroItems
Blanket Implementations§
source§impl<N> AstNodeEdit for N
impl<N> AstNodeEdit for N
fn indent_level(&self) -> IndentLevel
fn indent(&self, level: IndentLevel) -> Self
fn dedent(&self, level: IndentLevel) -> Self
fn reset_indent(&self) -> Self
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.