pub struct Gitignore<P: AsRef<Path>> {
pub root: P,
/* private fields */
}
Expand description
Used to match globs against user-provided paths.
Fields§
§root: P
Current working directory if created with Gitignore::default()
.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<P> Freeze for Gitignore<P>where
P: Freeze,
impl<P> RefUnwindSafe for Gitignore<P>where
P: RefUnwindSafe,
impl<P> Send for Gitignore<P>where
P: Send,
impl<P> Sync for Gitignore<P>where
P: Sync,
impl<P> Unpin for Gitignore<P>where
P: Unpin,
impl<P> UnwindSafe for Gitignore<P>where
P: UnwindSafe,
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