Struct ra_ap_syntax::ast::WhereClause [−][src]
pub struct WhereClause { /* fields omitted */ }
Implementations
pub fn predicates(&self) -> AstChildren<WherePred>ⓘNotable traits for AstChildren<N>
impl<N: AstNode> Iterator for AstChildren<N> type Item = N;
Trait Implementations
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 WhereClause
impl !Send for WhereClause
impl !Sync for WhereClause
impl Unpin for WhereClause
impl !UnwindSafe for WhereClause
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.