[−][src]Struct gluon_base::ast::ValueBinding
Fields
metadata: BaseMetadata<'ast>
name: SpannedPattern<'ast, Id>
typ: Option<AstType<'ast, Id>>
resolved_type: ArcType<Id>
args: &'ast mut [Argument<SpannedIdent<Id>>]
expr: SpannedExpr<'ast, Id>
Implementations
impl<'ast, Id> ValueBinding<'ast, Id>
[src]
Trait Implementations
impl<'ast, Id> AstAlloc<'ast, Id> for ValueBinding<'ast, Id>
[src]
fn alloc(self, arena: &'ast Arena<'ast, Id>) -> &'ast mut Self
[src]
fn alloc_extend(
iter: impl IntoIterator<Item = Self>,
arena: &'ast Arena<'ast, Id>
) -> &'ast mut [Self]
[src]
iter: impl IntoIterator<Item = Self>,
arena: &'ast Arena<'ast, Id>
) -> &'ast mut [Self]
impl<'ast, Id> AstClone<'ast, Id> for ValueBinding<'ast, Id> where
Id: AstClone<'ast, Id>,
Id: Clone,
[src]
Id: AstClone<'ast, Id>,
Id: Clone,
impl<'ast, Id: Debug> Debug for ValueBinding<'ast, Id>
[src]
impl<T, '_> Default for ValueBinding<'_, T> where
T: PartialEq,
[src]
T: PartialEq,
impl<'ast, Id: Eq> Eq for ValueBinding<'ast, Id>
[src]
impl<'ast, Id: PartialEq> PartialEq<ValueBinding<'ast, Id>> for ValueBinding<'ast, Id>
[src]
fn eq(&self, other: &ValueBinding<'ast, Id>) -> bool
[src]
fn ne(&self, other: &ValueBinding<'ast, Id>) -> bool
[src]
impl<'ast, Id> StructuralEq for ValueBinding<'ast, Id>
[src]
impl<'ast, Id> StructuralPartialEq for ValueBinding<'ast, Id>
[src]
Auto Trait Implementations
impl<'ast, Id> RefUnwindSafe for ValueBinding<'ast, Id> where
Id: RefUnwindSafe,
Id: RefUnwindSafe,
impl<'ast, Id> Send for ValueBinding<'ast, Id> where
Id: Send + Sync,
Id: Send + Sync,
impl<'ast, Id> Sync for ValueBinding<'ast, Id> where
Id: Send + Sync,
Id: Send + Sync,
impl<'ast, Id> Unpin for ValueBinding<'ast, Id> where
Id: Unpin,
Id: Unpin,
impl<'ast, Id> !UnwindSafe for ValueBinding<'ast, Id>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<Id> AsId<Id> for Id where
Id: ?Sized,
[src]
Id: ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,