pub struct ConfigInputs { /* private fields */ }Expand description
The inputs that FallowConfig::resolve reads for one project root:
the external plugin files, the rule pack files, and the directories that
autoDiscover lists.
Implementations§
Source§impl ConfigInputs
impl ConfigInputs
Sourcepub fn new(root: &Path, config: &FallowConfig) -> Self
pub fn new(root: &Path, config: &FallowConfig) -> Self
The inputs of config for root. Take a Self::snapshot before
FallowConfig::resolve and one after it: when the two differ, an
input changed while resolution read it.
Sourcepub fn snapshot(&self) -> ConfigInputsSnapshot
pub fn snapshot(&self) -> ConfigInputsSnapshot
Read the current content of the inputs.
Trait Implementations§
Source§impl Clone for ConfigInputs
impl Clone for ConfigInputs
Source§impl Debug for ConfigInputs
impl Debug for ConfigInputs
Source§impl Default for ConfigInputs
impl Default for ConfigInputs
impl Eq for ConfigInputs
Source§impl PartialEq for ConfigInputs
impl PartialEq for ConfigInputs
impl StructuralPartialEq for ConfigInputs
Auto Trait Implementations§
impl Freeze for ConfigInputs
impl RefUnwindSafe for ConfigInputs
impl Send for ConfigInputs
impl Sync for ConfigInputs
impl Unpin for ConfigInputs
impl UnsafeUnpin for ConfigInputs
impl UnwindSafe for ConfigInputs
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.