[][src]Enum ergo_lib::ast::value::Coll

pub enum Coll {
    Primitive(CollPrim),
    NonPrimitive {
        elem_tpe: SType,
        v: Vec<Value>,
    },
}

Collection elements

Variants

Primitive(CollPrim)

Collection elements stored as a vector of primitive types

NonPrimitive

Collection elements stored as a vector of ConstantVals

Fields of NonPrimitive

elem_tpe: SType

Collection element type

v: Vec<Value>

Collection elements

Implementations

impl Coll[src]

pub fn elem_tpe(&self) -> &SType[src]

Collection element type

Trait Implementations

impl Clone for Coll[src]

impl Debug for Coll[src]

impl Eq for Coll[src]

impl PartialEq<Coll> for Coll[src]

impl StructuralEq for Coll[src]

impl StructuralPartialEq for Coll[src]

Auto Trait Implementations

impl !RefUnwindSafe for Coll[src]

impl !Send for Coll[src]

impl !Sync for Coll[src]

impl Unpin for Coll[src]

impl !UnwindSafe for Coll[src]

Blanket Implementations

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

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

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

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<F> TryExtractInto<F> for F[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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,