pub enum LineContent {
Comment(String),
KVPair(String, String),
}
Expand description
Parsed content of the line.
Variants§
Trait Implementations§
Source§impl Clone for LineContent
impl Clone for LineContent
Source§fn clone(&self) -> LineContent
fn clone(&self) -> LineContent
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for LineContent
impl Debug for LineContent
Source§impl Display for LineContent
impl Display for LineContent
Source§impl From<Line> for LineContent
impl From<Line> for LineContent
Source§fn from(line: Line) -> LineContent
fn from(line: Line) -> LineContent
Converts to this type from the input type.
Source§impl Hash for LineContent
impl Hash for LineContent
Source§impl Ord for LineContent
impl Ord for LineContent
Source§fn cmp(&self, other: &LineContent) -> Ordering
fn cmp(&self, other: &LineContent) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for LineContent
impl PartialEq for LineContent
Source§impl PartialOrd for LineContent
impl PartialOrd for LineContent
impl Eq for LineContent
impl StructuralPartialEq for LineContent
Auto Trait Implementations§
impl Freeze for LineContent
impl RefUnwindSafe for LineContent
impl Send for LineContent
impl Sync for LineContent
impl Unpin for LineContent
impl UnwindSafe for LineContent
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