pub enum CommentEntry {
Text(String),
Blank(String),
}Expand description
A comment or a blank line.
Variants§
Text(String)
A textual comment. Contains the line content.
Blank(String)
A blank line. Containes a number of “\n” for each subsequent lines.
Trait Implementations§
Source§impl Clone for CommentEntry
impl Clone for CommentEntry
Source§impl Debug for CommentEntry
impl Debug for CommentEntry
Source§impl Display for CommentEntry
impl Display for CommentEntry
impl Eq for CommentEntry
Source§impl From<CommentEntry> for Entry
impl From<CommentEntry> for Entry
Source§fn from(value: CommentEntry) -> Self
fn from(value: CommentEntry) -> Self
Converts to this type from the input type.
Source§impl From<CommentEntry> for TopLevelEntry
impl From<CommentEntry> for TopLevelEntry
Source§fn from(value: CommentEntry) -> Self
fn from(value: CommentEntry) -> Self
Converts to this type from the input type.
Source§impl PartialEq for CommentEntry
impl PartialEq for CommentEntry
impl StructuralPartialEq for CommentEntry
Auto Trait Implementations§
impl Freeze for CommentEntry
impl RefUnwindSafe for CommentEntry
impl Send for CommentEntry
impl Sync for CommentEntry
impl Unpin for CommentEntry
impl UnsafeUnpin for CommentEntry
impl UnwindSafe for CommentEntry
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