Trait TokenType

Source
pub trait TokenType: TokenKind {
    // Required methods
    fn is_other_and_can_have_trailing_comment(self) -> bool;
    fn is_other_and_before_expr_is_false(self) -> bool;
}

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§