pub enum CommentType {
InlineComment,
EmbDocComment,
}Expand description
The type of the comment
Variantsยง
InlineComment
InlineComment corresponds to comments that start with #.
EmbDocComment
EmbDocComment corresponds to comments that are surrounded by =begin and =end.
Trait Implementationsยง
Sourceยงimpl Clone for CommentType
impl Clone for CommentType
impl Copy for CommentType
Sourceยงimpl Debug for CommentType
impl Debug for CommentType
impl Eq for CommentType
Sourceยงimpl PartialEq for CommentType
impl PartialEq for CommentType
impl StructuralPartialEq for CommentType
Auto Trait Implementationsยง
impl Freeze for CommentType
impl RefUnwindSafe for CommentType
impl Send for CommentType
impl Sync for CommentType
impl Unpin for CommentType
impl UnsafeUnpin for CommentType
impl UnwindSafe for CommentType
Blanket Implementationsยง
Sourceยงimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Sourceยงfn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more