Struct ra_ap_syntax::ast::VariantList [−][src]
pub struct VariantList { /* fields omitted */ }Implementations
pub fn variants(&self) -> AstChildren<Variant>ⓘ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;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 VariantList
impl !Send for VariantList
impl !Sync for VariantList
impl Unpin for VariantList
impl !UnwindSafe for VariantList
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.