Trait PreludeList

Source
pub trait PreludeList<'a>: Sized + Parse<'a> {
    type PreludeItem: Parse<'a>;

    const STOP_TOKENS: KindSet = KindSet::LEFT_CURLY_OR_SEMICOLON;

    // Provided method
    fn parse_prelude_list<I>(
        p: &mut Parser<'a, I>,
    ) -> Result<Vec<'a, Self::PreludeItem>>
       where I: Iterator<Item = Cursor> + Clone { ... }
}

Provided Associated Constants§

Source

const STOP_TOKENS: KindSet = KindSet::LEFT_CURLY_OR_SEMICOLON

Required Associated Types§

Provided Methods§

Source

fn parse_prelude_list<I>( p: &mut Parser<'a, I>, ) -> Result<Vec<'a, Self::PreludeItem>>
where I: Iterator<Item = Cursor> + Clone,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§