pub struct ParsedPath { /* private fields */ }Expand description
Parsed path with owned storage and component ranges.
Implementations§
Source§impl ParsedPath
impl ParsedPath
Sourcepub fn components(&self) -> &[PathComponentRange]
pub fn components(&self) -> &[PathComponentRange]
Get the parsed components.
Sourcepub fn components_ref<'a>(&'a self, out: &mut Vec<PathComponentRef<'a>>)
pub fn components_ref<'a>(&'a self, out: &mut Vec<PathComponentRef<'a>>)
Convert components to borrowed references.
Trait Implementations§
Source§impl Clone for ParsedPath
impl Clone for ParsedPath
Source§fn clone(&self) -> ParsedPath
fn clone(&self) -> ParsedPath
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 ParsedPath
impl RefUnwindSafe for ParsedPath
impl Send for ParsedPath
impl Sync for ParsedPath
impl Unpin for ParsedPath
impl UnwindSafe for ParsedPath
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