pub struct RepoFiles<'a> {
pub files: HashSet<&'a str>,
pub dirs: HashSet<String>,
}Expand description
Repo files plus every ancestor directory of them, for O(1) lookups.
Fields§
§files: HashSet<&'a str>§dirs: HashSet<String>Implementations§
Auto Trait Implementations§
impl<'a> Freeze for RepoFiles<'a>
impl<'a> RefUnwindSafe for RepoFiles<'a>
impl<'a> Send for RepoFiles<'a>
impl<'a> Sync for RepoFiles<'a>
impl<'a> Unpin for RepoFiles<'a>
impl<'a> UnsafeUnpin for RepoFiles<'a>
impl<'a> UnwindSafe for RepoFiles<'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