Struct ra_ap_syntax::ast::MacroItems
source · [−]pub struct MacroItems { /* private fields */ }
Trait Implementations
sourceimpl 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,
sourceimpl Clone for MacroItems
impl Clone for MacroItems
sourcefn clone(&self) -> MacroItems
fn clone(&self) -> MacroItems
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for MacroItems
impl Debug for MacroItems
sourceimpl Display for MacroItems
impl Display for MacroItems
sourceimpl HasModuleItem for MacroItems
impl HasModuleItem for MacroItems
fn items(&self) -> AstChildren<Item>ⓘNotable traits for AstChildren<N>impl<N: AstNode> Iterator for AstChildren<N> type Item = N;
sourceimpl Hash for MacroItems
impl Hash for MacroItems
sourceimpl PartialEq<MacroItems> for MacroItems
impl PartialEq<MacroItems> for MacroItems
sourcefn eq(&self, other: &MacroItems) -> bool
fn eq(&self, other: &MacroItems) -> bool
impl Eq for MacroItems
impl StructuralEq for MacroItems
impl StructuralPartialEq for MacroItems
Auto Trait Implementations
impl !RefUnwindSafe for MacroItems
impl !Send for MacroItems
impl !Sync for MacroItems
impl Unpin for MacroItems
impl !UnwindSafe for MacroItems
Blanket Implementations
sourceimpl<N> AstNodeEdit for Nwhere
N: AstNode + Clone,
impl<N> AstNodeEdit for Nwhere
N: AstNode + Clone,
fn indent_level(&self) -> IndentLevel
fn indent(&self, level: IndentLevel) -> Self
fn dedent(&self, level: IndentLevel) -> Self
fn reset_indent(&self) -> Self
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<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,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.