pub enum Entry {
Content(ContentEntry),
Comment(CommentEntry),
}Expand description
An entry in the file
Variants§
Trait Implementations§
Source§impl CanBeComment for Entry
impl CanBeComment for Entry
impl Eq for Entry
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<ContentEntry> for Entry
impl From<ContentEntry> for Entry
Source§fn from(value: ContentEntry) -> Self
fn from(value: ContentEntry) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for Entry
Auto Trait Implementations§
impl Freeze for Entry
impl RefUnwindSafe for Entry
impl Send for Entry
impl Sync for Entry
impl Unpin for Entry
impl UnsafeUnpin for Entry
impl UnwindSafe for Entry
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