[][src]Enum gluon_base::ast::ValueBindings

pub enum ValueBindings<'ast, Id> {
    Plain(&'ast mut ValueBinding<'ast, Id>),
    Recursive(&'ast mut [ValueBinding<'ast, Id>]),
}

Variants

Plain(&'ast mut ValueBinding<'ast, Id>)
Recursive(&'ast mut [ValueBinding<'ast, Id>])

Implementations

impl<'ast, Id> ValueBindings<'ast, Id>[src]

pub fn is_recursive(&self) -> bool[src]

Trait Implementations

impl<'ast, Id> AstClone<'ast, Id> for ValueBindings<'ast, Id> where
    Id: AstClone<'ast, Id>,
    Id: Clone
[src]

impl<'ast, Id: Debug> Debug for ValueBindings<'ast, Id>[src]

impl<'ast, Id> Deref for ValueBindings<'ast, Id>[src]

type Target = [ValueBinding<'ast, Id>]

The resulting type after dereferencing.

impl<'ast, Id> DerefMut for ValueBindings<'ast, Id>[src]

impl<'ast, Id: Eq> Eq for ValueBindings<'ast, Id>[src]

impl<'a, 'ast, Id> IntoIterator for &'a ValueBindings<'ast, Id>[src]

type IntoIter = Iter<'a, ValueBinding<'ast, Id>>

Which kind of iterator are we turning this into?

type Item = &'a ValueBinding<'ast, Id>

The type of the elements being iterated over.

impl<'a, 'ast, Id> IntoIterator for &'a mut ValueBindings<'ast, Id>[src]

type IntoIter = IterMut<'a, ValueBinding<'ast, Id>>

Which kind of iterator are we turning this into?

type Item = &'a mut ValueBinding<'ast, Id>

The type of the elements being iterated over.

impl<'ast, Id: PartialEq> PartialEq<ValueBindings<'ast, Id>> for ValueBindings<'ast, Id>[src]

impl<'ast, Id> StructuralEq for ValueBindings<'ast, Id>[src]

impl<'ast, Id> StructuralPartialEq for ValueBindings<'ast, Id>[src]

Auto Trait Implementations

impl<'ast, Id> RefUnwindSafe for ValueBindings<'ast, Id> where
    Id: RefUnwindSafe

impl<'ast, Id> Send for ValueBindings<'ast, Id> where
    Id: Send + Sync

impl<'ast, Id> Sync for ValueBindings<'ast, Id> where
    Id: Send + Sync

impl<'ast, Id> Unpin for ValueBindings<'ast, Id>

impl<'ast, Id> !UnwindSafe for ValueBindings<'ast, Id>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<Id> AsId<Id> for Id where
    Id: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.