pub struct PathTok {
pub path: String,
pub optional: bool,
}Expand description
One declared path. ?src/build.rs in the spec is optional: it may be
absent, and its absence is then part of the fingerprint. The marker is
stripped here, once, so no consumer can ever hand ?x to git — where it
would match nothing and silently drop out of the fingerprint.
Fields§
§path: String§optional: boolTrait Implementations§
impl StructuralPartialEq for PathTok
Auto Trait Implementations§
impl Freeze for PathTok
impl RefUnwindSafe for PathTok
impl Send for PathTok
impl Sync for PathTok
impl Unpin for PathTok
impl UnsafeUnpin for PathTok
impl UnwindSafe for PathTok
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