Skip to main content

Rules

Type Alias Rules 

Source
pub type Rules = List<Rule>;

Aliased Type§

pub enum Rules {
    Nil,
    Cons(Box<Rule>, Box<List<Rule>>),
}

Variants§

§

Nil

§

Cons(Box<Rule>, Box<List<Rule>>)

Trait Implementations§

Source§

impl FromStr for Rules

Source§

type Err = ()

The associated error which can be returned from parsing.
Source§

fn from_str(s: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more