Enum gluon_base::ast::ValueBindings [−][src]
pub enum ValueBindings<'ast, Id> {
Plain(&'ast mut ValueBinding<'ast, Id>),
Recursive(&'ast mut [ValueBinding<'ast, Id>]),
}
Variants
Plain(&'ast mut ValueBinding<'ast, Id>)
Tuple Fields of Plain
0: &'ast mut ValueBinding<'ast, Id>
Recursive(&'ast mut [ValueBinding<'ast, Id>])
Tuple Fields of Recursive
0: &'ast mut [ValueBinding<'ast, Id>]
Implementations
Trait Implementations
impl<'ast, Id> AstClone<'ast, Id> for ValueBindings<'ast, Id> where
Id: AstClone<'ast, Id>,
Id: Clone,
impl<'ast, Id> AstClone<'ast, Id> for ValueBindings<'ast, Id> where
Id: AstClone<'ast, Id>,
Id: Clone,
type IntoIter = Iter<'a, ValueBinding<'ast, Id>>
type IntoIter = Iter<'a, ValueBinding<'ast, Id>>
Which kind of iterator are we turning this into?
type Item = &'a ValueBinding<'ast, Id>
type Item = &'a ValueBinding<'ast, Id>
The type of the elements being iterated over.
type IntoIter = IterMut<'a, ValueBinding<'ast, Id>>
type IntoIter = IterMut<'a, ValueBinding<'ast, Id>>
Which kind of iterator are we turning this into?
type Item = &'a mut ValueBinding<'ast, Id>
type Item = &'a mut ValueBinding<'ast, Id>
The type of the elements being iterated over.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.