pub enum AbstractMountElement {
Comment(String),
Empty,
Mount(MountInfo),
}
Expand description
An element in an abtract representation of the mount tab that was read into memory.
Variants§
Comment(String)
An element which is a comment
Empty
An element which is an empty line.
Mount(MountInfo)
An element which defines a mount point
Trait Implementations§
Source§impl Clone for AbstractMountElement
impl Clone for AbstractMountElement
Source§fn clone(&self) -> AbstractMountElement
fn clone(&self) -> AbstractMountElement
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 AbstractMountElement
impl Debug for AbstractMountElement
Source§impl Display for AbstractMountElement
impl Display for AbstractMountElement
Source§impl From<()> for AbstractMountElement
impl From<()> for AbstractMountElement
Source§impl From<MountInfo> for AbstractMountElement
impl From<MountInfo> for AbstractMountElement
Source§impl From<String> for AbstractMountElement
impl From<String> for AbstractMountElement
Source§impl PartialEq for AbstractMountElement
impl PartialEq for AbstractMountElement
impl Eq for AbstractMountElement
impl StructuralPartialEq for AbstractMountElement
Auto Trait Implementations§
impl Freeze for AbstractMountElement
impl RefUnwindSafe for AbstractMountElement
impl Send for AbstractMountElement
impl Sync for AbstractMountElement
impl Unpin for AbstractMountElement
impl UnwindSafe for AbstractMountElement
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