pub enum Discover {
File {
glob: String,
values: Values,
},
Macro {
file: String,
name: String,
args: BTreeMap<String, usize>,
map: BTreeMap<String, BTreeMap<String, String>>,
},
}Expand description
2026-09-29: A rule that rediscovers instantiated points from the sources.
Variants§
File
2026-09-29: Each file matching glob realises values as a copy.
Fields
Macro
2026-09-29: Each name(...) invocation line in file realises one point: parameter
p is argument args[p] (0-based), mapped through map[p] when present.
Trait Implementations§
impl Eq for Discover
impl StructuralPartialEq for Discover
Auto Trait Implementations§
impl Freeze for Discover
impl RefUnwindSafe for Discover
impl Send for Discover
impl Sync for Discover
impl Unpin for Discover
impl UnwindSafe for Discover
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.