Enum asexp::sexp::Sexp [] [src]

pub enum Sexp {
    Atom(Atom),
    Tuple(Vec<Sexp>),
    Array(Vec<Sexp>),
    Map(Vec<(Sexp, Sexp)>),
}

Variants

Methods

impl Sexp
[src]

Converts a Sexp::Map into a BTreeMap if possible.

Trait Implementations

impl Debug for Sexp
[src]

Formats the value using the given formatter.

impl PartialEq for Sexp
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Clone for Sexp
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

Performs the conversion.

impl From<()> for Sexp
[src]

Performs the conversion.

impl<A> From<(A,)> for Sexp where
    A: Into<Sexp>, 
[src]

Performs the conversion.

impl<A, B> From<(A, B)> for Sexp where
    A: Into<Sexp>,
    B: Into<Sexp>, 
[src]

Performs the conversion.

impl<A, B, C> From<(A, B, C)> for Sexp where
    A: Into<Sexp>,
    B: Into<Sexp>,
    C: Into<Sexp>, 
[src]

Performs the conversion.

impl<A, B, C, D> From<(A, B, C, D)> for Sexp where
    A: Into<Sexp>,
    B: Into<Sexp>,
    C: Into<Sexp>,
    D: Into<Sexp>, 
[src]

Performs the conversion.

impl<A> From<Vec<A>> for Sexp where
    A: Into<Sexp>, 
[src]

Performs the conversion.

impl Display for Sexp
[src]

Formats the value using the given formatter. Read more