[][src]Struct asdl::SumType

pub struct SumType {
    pub id: String,
    pub constructors: Vec<Constructor>,
    pub attributes: Vec<Field>,
    pub comments: Vec<String>,
}

Fields

id: Stringconstructors: Vec<Constructor>attributes: Vec<Field>comments: Vec<String>

Trait Implementations

impl Eq for SumType[src]

impl PartialEq<SumType> for SumType[src]

impl From<SumType> for Type[src]

impl Hash for SumType[src]

impl Debug for SumType[src]

Auto Trait Implementations

impl Unpin for SumType

impl Sync for SumType

impl Send for SumType

impl UnwindSafe for SumType

impl RefUnwindSafe for SumType

Blanket Implementations

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

impl<T> From<T> for T[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<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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