pub trait Entries {
// Required method
fn entries(&self) -> impl IterTrait<'_, SourceFile>;
}Expand description
A trait that defines a method for retrieving an iterator over entries.
The Entries trait is used to represent objects that can provide an iterator over their
contained entries, which are represented as source files. This can be useful in scenarios
where you need to access or process all entries associated with an object.
Required Methods§
Sourcefn entries(&self) -> impl IterTrait<'_, SourceFile>
fn entries(&self) -> impl IterTrait<'_, SourceFile>
Returns an iterator over the entries.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.