pub struct GlobalCache {
pub root: PathBuf,
}Expand description
Global source cache under ~/.mars/cache (or MARS_CACHE_DIR).
Fields§
§root: PathBufImplementations§
Source§impl GlobalCache
impl GlobalCache
Trait Implementations§
Source§impl Clone for GlobalCache
impl Clone for GlobalCache
Source§fn clone(&self) -> GlobalCache
fn clone(&self) -> GlobalCache
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 GlobalCache
impl RefUnwindSafe for GlobalCache
impl Send for GlobalCache
impl Sync for GlobalCache
impl Unpin for GlobalCache
impl UnsafeUnpin for GlobalCache
impl UnwindSafe for GlobalCache
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