Trait StartMarker

Source
pub trait StartMarker {
    type token: Parse;
    type tokend: Parse + ToString + Clone;

    // Required methods
    fn name() -> Option<String>;
    fn tokenp() -> fn(Cursor<'_>) -> bool;
    fn token_token() -> TokenStream2;
}

Required Associated Types§

Required Methods§

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§