Trait aterm::Cons [] [src]

pub trait Cons {
    fn is_tuple_cons(&self) -> bool;
    fn to_string_option(&self) -> Option<String>;

    fn is_string_cons(&self) -> bool { ... }
}

Required Methods

Returns whether this constructor is a tuple constructor

Returns Some(string) when the constructor encapsulates a string

Provided Methods

Returns whether the constructor encapsulates a string

Implementors