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§
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>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".