[][src]Struct asdl::Asdl

pub struct Asdl {
    pub types: Vec<Type>,
    pub comments: Vec<String>,
}

Fields

types: Vec<Type>comments: Vec<String>

Methods

impl Asdl[src]

pub fn parse(asdl: &str) -> Result<Asdl>[src]

pub fn get_type_by_name(&self, name: &str) -> Option<&Type>[src]

Trait Implementations

impl Eq for Asdl[src]

impl PartialEq<Asdl> for Asdl[src]

impl Hash for Asdl[src]

impl Debug for Asdl[src]

Auto Trait Implementations

impl Unpin for Asdl

impl Sync for Asdl

impl Send for Asdl

impl UnwindSafe for Asdl

impl RefUnwindSafe for Asdl

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]