pub struct BDPath<'a> {
path: Cow<'a, str>,
}
Expand description
Paths to book data files (primarily for defining constants, etc.).
Fields§
§path: Cow<'a, str>
Implementations§
Trait Implementations§
Source§impl<'a, 'b> AsRef<RelativePath> for &'b BDPath<'a>where
'b: 'a,
impl<'a, 'b> AsRef<RelativePath> for &'b BDPath<'a>where
'b: 'a,
Source§fn as_ref(&self) -> &'a RelativePath
fn as_ref(&self) -> &'a RelativePath
Converts this type into a shared reference of the (usually inferred) input type.
Auto Trait Implementations§
impl<'a> Freeze for BDPath<'a>
impl<'a> RefUnwindSafe for BDPath<'a>
impl<'a> Send for BDPath<'a>
impl<'a> Sync for BDPath<'a>
impl<'a> Unpin for BDPath<'a>
impl<'a> UnwindSafe for BDPath<'a>
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