pub trait HasDocComments: HasAttrs {
// Provided method
fn doc_comments(&self) -> DocCommentIter ⓘ { ... }
}Provided Methods§
fn doc_comments(&self) -> DocCommentIter ⓘ
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".