pub struct PlanIndex { /* private fields */ }Expand description
PlanIndex maps each planned path to the documents that plan it.
Implementations§
Source§impl PlanIndex
impl PlanIndex
Sourcepub fn add(&mut self, planner: &RepoPath, target: &Planned)
pub fn add(&mut self, planner: &RepoPath, target: &Planned)
add records that the document at planner plans target.
Sourcepub fn contains(&self, target: &RepoPath) -> bool
pub fn contains(&self, target: &RepoPath) -> bool
contains reports whether some document plans target: the path
itself, or a directory that holds it.
Trait Implementations§
impl Eq for PlanIndex
impl StructuralPartialEq for PlanIndex
Auto Trait Implementations§
impl Forget for PlanIndex
impl Freeze for PlanIndex
impl Move for PlanIndex
impl RefUnwindSafe for PlanIndex
impl Send for PlanIndex
impl Sync for PlanIndex
impl Unpin for PlanIndex
impl UnsafeUnpin for PlanIndex
impl UnwindSafe for PlanIndex
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.