Enum exprz::vec::Expr[][src]

pub enum Expr<A = ()> {
    Atom(A),
    Group(Vec<Self>),
}
This is supported on crate feature alloc only.

Vector Expression Type

Variants

Atom(A)

Atomic expression

Group(Vec<Self>)

Grouped expression

Trait Implementations

impl<A: Clone> Clone for Expr<A>[src]

impl<A: Debug> Debug for Expr<A>[src]

impl<A> Default for Expr<A>[src]

impl<A: Eq> Eq for Expr<A>[src]

impl<A> Expression for Expr<A>[src]

type Atom = A

Atomic Element Type

type Group = Vec<Self>

Group Expression Type

impl<A> From<Expr<A>> for Expr<Expr<A>>[src]

impl<A> FromStr for Expr<A> where
    A: FromIterator<char>, 
[src]

This is supported on crate feature parse only.

type Err = Error

The associated error which can be returned from parsing.

impl<A: Hash> Hash for Expr<A>[src]

impl<A: PartialEq> PartialEq<Expr<A>> for Expr<A>[src]

impl<A> StructuralEq for Expr<A>[src]

impl<A> StructuralPartialEq for Expr<A>[src]

Auto Trait Implementations

impl<A> Send for Expr<A> where
    A: Send

impl<A> Sync for Expr<A> where
    A: Sync

impl<A> Unpin for Expr<A> where
    A: Unpin

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<T> From<T> for T[src]

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

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

type Owned = T

The resulting type after obtaining ownership.

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.