Enum arret_syntax::datum::Datum[−][src]

pub enum Datum {
    Bool(Span, bool),
    Char(Span, char),
    Int(Span, i64),
    Float(Span, f64),
    List(Span, Box<[Datum]>),
    Str(Span, DataStr),
    Sym(Span, DataStr),
    Vector(Span, Box<[Datum]>),
    Map(Span, Box<[(Datum, Datum)]>),
    Set(Span, Box<[Datum]>),
}

Variants

Bool(Span, bool)
Char(Span, char)
Int(Span, i64)
Float(Span, f64)
List(Span, Box<[Datum]>)
Str(Span, DataStr)
Sym(Span, DataStr)
Vector(Span, Box<[Datum]>)
Map(Span, Box<[(Datum, Datum)]>)
Set(Span, Box<[Datum]>)

Implementations

impl Datum[src]

pub fn span(&self) -> Span[src]

pub fn description(&self) -> &'static str[src]

Trait Implementations

impl Clone for Datum[src]

impl Debug for Datum[src]

impl PartialEq<Datum> for Datum[src]

impl StructuralPartialEq for Datum[src]

Auto Trait Implementations

impl RefUnwindSafe for Datum

impl Send for Datum

impl Sync for Datum

impl Unpin for Datum

impl UnwindSafe for Datum

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.