pub struct AppPaths { /* private fields */ }Implementations§
Source§impl AppPaths
impl AppPaths
pub fn init(profile_paths: &PathsConfig) -> Result<(), PathError>
pub fn get() -> Result<&'static Self, PathError>
pub const fn system(&self) -> &SystemPaths
pub const fn web(&self) -> &WebPaths
pub const fn build(&self) -> &BuildPaths
pub fn storage(&self) -> Option<&Path>
pub fn ai_config(&self) -> Option<&Path>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AppPaths
impl RefUnwindSafe for AppPaths
impl Send for AppPaths
impl Sync for AppPaths
impl Unpin for AppPaths
impl UnwindSafe for AppPaths
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