Struct ra_ap_syntax::ast::SourceFile [−][src]
pub struct SourceFile { /* 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;
Notable traits for AstChildren<N>
impl<N: AstNode> Iterator for AstChildren<N> type Item = N;
fn doc_comments(&self) -> CommentIterⓘNotable traits for CommentIterimpl Iterator for CommentIter type Item = Comment;
Notable traits for CommentIter
impl Iterator for CommentIter type Item = Comment;
fn items(&self) -> AstChildren<Item>ⓘNotable traits for AstChildren<N>impl<N: AstNode> Iterator for AstChildren<N> type Item = N;
Notable traits for AstChildren<N>
impl<N: AstNode> Iterator for AstChildren<N> type Item = N;
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl !RefUnwindSafe for SourceFile
impl !Send for SourceFile
impl !Sync for SourceFile
impl Unpin for SourceFile
impl !UnwindSafe for SourceFile
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.