Struct ra_ap_syntax::ast::Static [−][src]
pub struct Static { /* fields omitted */ }
Implementations
Trait Implementations
fn attrs(&self) -> AstChildren<Attr>ⓘNotable traits for AstChildren<N>
impl<N: AstNode> Iterator for AstChildren<N> type Item = N;
fn doc_comments(&self) -> CommentIterⓘNotable traits for CommentIter
impl Iterator for CommentIter type Item = Comment;
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for Static
impl !UnwindSafe for Static
Blanket Implementations
fn replace_children(
&self,
to_replace: RangeInclusive<SyntaxElement>,
to_insert: impl IntoIterator<Item = SyntaxElement>
) -> Self
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.