pub struct PathTemplate { /* private fields */ }
Implementations§
Source§impl PathTemplate
impl PathTemplate
pub fn parse(path: &str) -> Result<Self, ParseError>
pub fn includes_up_down(&self) -> bool
pub fn with_up_down(self) -> Self
pub fn resolve(&self, data: &TemplateData) -> String
Trait Implementations§
Source§impl Debug for PathTemplate
impl Debug for PathTemplate
Source§impl Default for PathTemplate
impl Default for PathTemplate
Source§impl PartialEq for PathTemplate
impl PartialEq for PathTemplate
impl StructuralPartialEq for PathTemplate
Auto Trait Implementations§
impl Freeze for PathTemplate
impl RefUnwindSafe for PathTemplate
impl Send for PathTemplate
impl Sync for PathTemplate
impl Unpin for PathTemplate
impl UnwindSafe for PathTemplate
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