pub struct SystemPaths {
pub system_type: SystemType,
pub readonly_mounts: Vec<PathBuf>,
pub default_path: String,
}Expand description
Paths that exist on the current system for mounting.
Fields§
§system_type: SystemTypeSystem type
readonly_mounts: Vec<PathBuf>Paths to mount read-only (system directories)
default_path: StringDefault PATH environment variable
Implementations§
Source§impl SystemPaths
impl SystemPaths
Trait Implementations§
Source§impl Clone for SystemPaths
impl Clone for SystemPaths
Source§fn clone(&self) -> SystemPaths
fn clone(&self) -> SystemPaths
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 moreAuto Trait Implementations§
impl Freeze for SystemPaths
impl RefUnwindSafe for SystemPaths
impl Send for SystemPaths
impl Sync for SystemPaths
impl Unpin for SystemPaths
impl UnsafeUnpin for SystemPaths
impl UnwindSafe for SystemPaths
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