pub enum RuleSourceKind {
Source,
Generated,
Mined,
Imported,
RuntimeInjected,
}Expand description
Origin class for a rule visible through diagnostic introspection.
Variants§
Source
Authored in the parsed XLOG source.
Generated
Generated by a compiler or rewrite pass.
Mined
Mined or induced by an external rule search path.
Imported
Imported from a module boundary.
RuntimeInjected
Injected into a live runtime session.
Implementations§
Trait Implementations§
Source§impl Clone for RuleSourceKind
impl Clone for RuleSourceKind
Source§fn clone(&self) -> RuleSourceKind
fn clone(&self) -> RuleSourceKind
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RuleSourceKind
impl Debug for RuleSourceKind
Source§impl PartialEq for RuleSourceKind
impl PartialEq for RuleSourceKind
impl Copy for RuleSourceKind
impl Eq for RuleSourceKind
impl StructuralPartialEq for RuleSourceKind
Auto Trait Implementations§
impl Freeze for RuleSourceKind
impl RefUnwindSafe for RuleSourceKind
impl Send for RuleSourceKind
impl Sync for RuleSourceKind
impl Unpin for RuleSourceKind
impl UnsafeUnpin for RuleSourceKind
impl UnwindSafe for RuleSourceKind
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