pub struct Resolver<'a> {
config: &'a Config,
in_book: PathBuf,
in_repo: PathBuf,
}Expand description
The two places one chapter’s relative links can mean.
Fields§
§config: &'a Config§in_book: PathBufThe chapter’s directory in the book.
in_repo: PathBufThe same directory as a path from the repository root: the original’s directory when the chapter includes a file from there, otherwise the chapter’s own place under the book.
Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Resolver<'a>
impl<'a> RefUnwindSafe for Resolver<'a>
impl<'a> Send for Resolver<'a>
impl<'a> Sync for Resolver<'a>
impl<'a> Unpin for Resolver<'a>
impl<'a> UnsafeUnpin for Resolver<'a>
impl<'a> UnwindSafe for Resolver<'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