pub type GlobalBinding = Binding<Global<CoreExpr>, Global<CoreClosure>>;

Aliased Type§

enum GlobalBinding {
    Expr(Global<CoreExpr>),
    Closure(Global<CoreClosure>),
}

Variants§

Trait Implementations§

source§

impl<E: Clone, C: Clone> Clone for Binding<E, C>

source§

fn clone(&self) -> Binding<E, C>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<E: Debug, C: Debug> Debug for Binding<E, C>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<E, C> Display for Binding<E, C>where E: Display, C: Display,

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl From<Global<CoreClosure>> for GlobalBinding

source§

fn from(expr: Global<CoreClosure>) -> Self

Converts to this type from the input type.
source§

impl From<Global<CoreExpr>> for GlobalBinding

source§

fn from(expr: Global<CoreExpr>) -> Self

Converts to this type from the input type.
source§

impl<E: PartialEq, C: PartialEq> PartialEq<Binding<E, C>> for Binding<E, C>

source§

fn eq(&self, other: &Binding<E, C>) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<E: Copy, C: Copy> Copy for Binding<E, C>

source§

impl<E: Eq, C: Eq> Eq for Binding<E, C>

source§

impl<E, C> StructuralEq for Binding<E, C>

source§

impl<E, C> StructuralPartialEq for Binding<E, C>