rowan_nom

Trait RowanNomLanguage

Source
pub trait RowanNomLanguage: Language {
    // Required method
    fn get_error_kind() -> Self::Kind;

    // Provided method
    fn is_trivia(_kind: Self::Kind) -> bool { ... }
}

Required Methods§

Provided Methods§

Source

fn is_trivia(_kind: Self::Kind) -> bool

Returns true if the token is a trivia token (whitespace or comment)

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§