pub enum PathMode {
Relative,
Absolute,
}Expand description
Whether emitted paths are absolute or rewritten relative to the root.
Mirrors the oracle’s --absolute flag: the default is
Relative (paths prefixed with ./), and
--absolute keeps the full absolute path.
Variants§
Relative
Rewrite paths to a leading ./ relative to the root (the default).
Absolute
Keep absolute paths (--absolute).
Trait Implementations§
impl Copy for PathMode
impl Eq for PathMode
impl StructuralPartialEq for PathMode
Auto Trait Implementations§
impl Freeze for PathMode
impl RefUnwindSafe for PathMode
impl Send for PathMode
impl Sync for PathMode
impl Unpin for PathMode
impl UnsafeUnpin for PathMode
impl UnwindSafe for PathMode
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