Trait tvix_eval::compiler::bindings::HasEntryProxy

source ·
trait HasEntryProxy {
    // Required methods
    fn inherits(&self) -> Box<dyn Iterator<Item = Inherit>>;
    fn attributes<'a>(
        &self,
        file: &'a File,
    ) -> Box<dyn Iterator<Item = (Span, Peekable<AstChildren<Attr>>, Expr)> + 'a>;
}
Expand description

Wrapper around the ast::HasEntry trait as that trait can not be implemented for custom types.

Required Methods§

source

fn inherits(&self) -> Box<dyn Iterator<Item = Inherit>>

source

fn attributes<'a>( &self, file: &'a File, ) -> Box<dyn Iterator<Item = (Span, Peekable<AstChildren<Attr>>, Expr)> + 'a>

Implementors§