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> 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