pub enum Convention {
Unix,
Windows,
}Expand description
Which platform’s directory layout to follow.
Variants§
Unix
A dotted directory in the home directory: $HOME/.phosphor.
Windows
The roaming application-data directory: %APPDATA%\phosphor.
Trait Implementations§
Source§impl Clone for Convention
impl Clone for Convention
Source§fn clone(&self) -> Convention
fn clone(&self) -> Convention
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for Convention
Source§impl Debug for Convention
impl Debug for Convention
impl Eq for Convention
Source§impl PartialEq for Convention
impl PartialEq for Convention
impl StructuralPartialEq for Convention
Auto Trait Implementations§
impl Freeze for Convention
impl RefUnwindSafe for Convention
impl Send for Convention
impl Sync for Convention
impl Unpin for Convention
impl UnsafeUnpin for Convention
impl UnwindSafe for Convention
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