pub enum LayoutEntry {
Empty,
Key(String),
Comment(String),
}
Expand description
Describes the layout of a loaded settings file line-by-line
Variants§
Trait Implementations§
Source§impl Clone for LayoutEntry
impl Clone for LayoutEntry
Source§fn clone(&self) -> LayoutEntry
fn clone(&self) -> LayoutEntry
Returns a duplicate 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 LayoutEntry
impl Debug for LayoutEntry
Source§impl Hash for LayoutEntry
impl Hash for LayoutEntry
Source§impl Ord for LayoutEntry
impl Ord for LayoutEntry
Source§fn cmp(&self, other: &LayoutEntry) -> Ordering
fn cmp(&self, other: &LayoutEntry) -> 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 LayoutEntry
impl PartialEq for LayoutEntry
Source§impl PartialOrd for LayoutEntry
impl PartialOrd for LayoutEntry
impl Eq for LayoutEntry
impl StructuralPartialEq for LayoutEntry
Auto Trait Implementations§
impl Freeze for LayoutEntry
impl RefUnwindSafe for LayoutEntry
impl Send for LayoutEntry
impl Sync for LayoutEntry
impl Unpin for LayoutEntry
impl UnwindSafe for LayoutEntry
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