[−][src]Struct acick_util::DATA_LOCAL_DIR
Methods from Deref<Target = AbsPathBuf>
pub fn join_expand<P: AsRef<Path>>(&self, path: P) -> Result<Self>
[src]
pub fn join<P: AsRef<Path>>(&self, path: P) -> Self
[src]
pub fn parent(&self) -> Option<Self>
[src]
pub fn search_dir_contains(&self, file_name: &str) -> Option<Self>
[src]
pub fn save_pretty(
&self,
save: impl FnOnce(File) -> Result<()>,
overwrite: bool,
base_dir: Option<&AbsPathBuf>,
cnsl: &mut dyn Write
) -> Result<Option<bool>>
[src]
&self,
save: impl FnOnce(File) -> Result<()>,
overwrite: bool,
base_dir: Option<&AbsPathBuf>,
cnsl: &mut dyn Write
) -> Result<Option<bool>>
pub fn save(
&self,
save: impl FnOnce(File) -> Result<()>,
overwrite: bool
) -> Result<Option<bool>>
[src]
&self,
save: impl FnOnce(File) -> Result<()>,
overwrite: bool
) -> Result<Option<bool>>
pub fn load_pretty<T>(
&self,
load: impl FnOnce(File) -> Result<T>,
base_dir: Option<&AbsPathBuf>,
cnsl: &mut dyn Write
) -> Result<T>
[src]
&self,
load: impl FnOnce(File) -> Result<T>,
base_dir: Option<&AbsPathBuf>,
cnsl: &mut dyn Write
) -> Result<T>
pub fn load<T>(&self, load: impl FnOnce(File) -> Result<T>) -> Result<T>
[src]
pub fn remove_dir_all_pretty(
&self,
base_dir: Option<&AbsPathBuf>,
cnsl: &mut dyn Write
) -> Result<bool>
[src]
&self,
base_dir: Option<&AbsPathBuf>,
cnsl: &mut dyn Write
) -> Result<bool>
pub fn move_from_pretty(
&self,
from: &AbsPathBuf,
base_dir: Option<&AbsPathBuf>,
cnsl: &mut dyn Write
) -> Result<()>
[src]
&self,
from: &AbsPathBuf,
base_dir: Option<&AbsPathBuf>,
cnsl: &mut dyn Write
) -> Result<()>
pub fn create_dir_all_and_open(
&self,
is_read: bool,
is_write: bool
) -> Result<File>
[src]
&self,
is_read: bool,
is_write: bool
) -> Result<File>
pub fn create_dir_all(&self) -> Result<()>
[src]
pub fn strip_prefix(&self, base: &AbsPathBuf) -> &Path
[src]
Trait Implementations
impl Deref for DATA_LOCAL_DIR
[src]
impl LazyStatic for DATA_LOCAL_DIR
[src]
fn initialize(lazy: &Self)
[src]
Auto Trait Implementations
impl RefUnwindSafe for DATA_LOCAL_DIR
impl Send for DATA_LOCAL_DIR
impl Sync for DATA_LOCAL_DIR
impl Unpin for DATA_LOCAL_DIR
impl UnwindSafe for DATA_LOCAL_DIR
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,