pub(crate) struct DependencySet {
entries: BTreeMap<PathBuf, Option<Fingerprint>>,
}Expand description
The dependencies observed so far while lowering one document, keyed by path so a file read twice is recorded once.
Fields§
§entries: BTreeMap<PathBuf, Option<Fingerprint>>Implementations§
Source§impl DependencySet
impl DependencySet
pub(crate) fn record(&mut self, path: PathBuf, fingerprint: Option<Fingerprint>)
pub(crate) fn into_vec(self) -> Vec<ExternalDependency>
Trait Implementations§
Source§impl Debug for DependencySet
impl Debug for DependencySet
Source§impl Default for DependencySet
impl Default for DependencySet
Source§fn default() -> DependencySet
fn default() -> DependencySet
Returns the “default value” for a type. Read more
Source§impl From<Vec<ExternalDependency>> for DependencySet
impl From<Vec<ExternalDependency>> for DependencySet
Source§fn from(dependencies: Vec<ExternalDependency>) -> Self
fn from(dependencies: Vec<ExternalDependency>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DependencySet
impl RefUnwindSafe for DependencySet
impl Send for DependencySet
impl Sync for DependencySet
impl Unpin for DependencySet
impl UnsafeUnpin for DependencySet
impl UnwindSafe for DependencySet
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