pub struct PathResolver { /* private fields */ }Expand description
Resolves path abstractions into real file paths.
Implementations§
Source§impl PathResolver
impl PathResolver
Sourcepub fn new<I: AsRef<str>>(
app_id: I,
prefix: &AppPathPrefix,
) -> Result<Self, InstallerError>
pub fn new<I: AsRef<str>>( app_id: I, prefix: &AppPathPrefix, ) -> Result<Self, InstallerError>
Create a new path resolver.
In order to match an existing installation, the exact arguments need to match when provided during installation.
Trait Implementations§
Source§impl Clone for PathResolver
impl Clone for PathResolver
Source§fn clone(&self) -> PathResolver
fn clone(&self) -> PathResolver
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 moreSource§impl Debug for PathResolver
impl Debug for PathResolver
Source§impl Default for PathResolver
impl Default for PathResolver
Source§fn default() -> PathResolver
fn default() -> PathResolver
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PathResolver
impl RefUnwindSafe for PathResolver
impl Send for PathResolver
impl Sync for PathResolver
impl Unpin for PathResolver
impl UnwindSafe for PathResolver
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