pub struct Path { /* private fields */ }
Implementations§
Source§impl Path
impl Path
Sourcepub fn from_parent(parent: &Self, child: &Self) -> Result<Self>
pub fn from_parent(parent: &Self, child: &Self) -> Result<Self>
Create a new Path based on the child path resolved against the parent path.
Sourcepub fn is_uri_path_absolute(&self) -> bool
pub fn is_uri_path_absolute(&self) -> bool
Returns true if the path component (i.e. directory) of this URI is absolute.
pub fn to_uri(&self) -> IriRef<'_>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Path
impl RefUnwindSafe for Path
impl Send for Path
impl Sync for Path
impl Unpin for Path
impl UnwindSafe for Path
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