pub trait AstDeref {
    type Target;

    fn ast_deref(&self) -> &Self::Target;
    fn ast_deref_mut(&mut self) -> &mut Self::Target;
}
Expand description

A utility trait to reduce boilerplate. Standard Deref(Mut) cannot be reused due to coherence.

Required Associated Types

Required Methods

Implementors