pub trait CommentsBufferTrait {
// Required methods
fn push_comment(&mut self, comment: BufferedComment);
fn push_pending(&mut self, comment: Comment);
fn pending_to_comment(&mut self, kind: BufferedCommentKind, pos: BytePos);
fn take_comments(&mut self) -> impl Iterator<Item = BufferedComment> + '_;
}
Required Methods§
fn push_comment(&mut self, comment: BufferedComment)
fn push_pending(&mut self, comment: Comment)
fn pending_to_comment(&mut self, kind: BufferedCommentKind, pos: BytePos)
fn take_comments(&mut self) -> impl Iterator<Item = BufferedComment> + '_
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.