Trait glsl_lang_pp::last::MaybeToken

source ·
pub trait MaybeToken {
    // Required method
    fn as_token(&self) -> Option<(&OutputToken, &Token, &TokenState)>;

    // Provided method
    fn as_token_kind(&self) -> Option<&Token> { ... }
}

Required Methods§

Provided Methods§

Implementations on Foreign Types§

source§

impl<T: MaybeToken, E> MaybeToken for Result<T, E>

Implementors§