pub enum FilesStyle {
Db,
Repo,
}Expand description
The different styles of the alpm-files format.
Variants§
Db
The alpm-db-files style of the format.
This style
- always produces an empty file, if no paths are tracked,
- and always has a trailing empty line, if paths are tracked.
Repo
The alpm-repo-files style of the format.
This style
- always produces the section header, if no paths are tracked,
- and never has a trailing empty line.
Trait Implementations§
Source§impl Clone for FilesStyle
impl Clone for FilesStyle
Source§fn clone(&self) -> FilesStyle
fn clone(&self) -> FilesStyle
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 FilesStyle
impl Debug for FilesStyle
Source§impl Display for FilesStyle
impl Display for FilesStyle
Source§impl FromStr for FilesStyle
impl FromStr for FilesStyle
Source§impl TryFrom<&str> for FilesStyle
impl TryFrom<&str> for FilesStyle
impl Copy for FilesStyle
Auto Trait Implementations§
impl Freeze for FilesStyle
impl RefUnwindSafe for FilesStyle
impl Send for FilesStyle
impl Sync for FilesStyle
impl Unpin for FilesStyle
impl UnwindSafe for FilesStyle
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