pub trait HasTokens {
// Required methods
fn tokens(&self) -> Option<&LazyAttrTokenStream>;
fn tokens_mut(&mut self) -> Option<&mut Option<LazyAttrTokenStream>>;
}
Expand description
A trait for AST nodes having (or not having) collected tokens.