pub enum SemanticRuleScope {
SameBuildVariant,
RustCpp,
}Expand description
The explicit comparison domain a registered rule may inspect.
A rule cannot cross from ordinary scan partitions into another language by omission: Rust-to-C++ matching is opt-in and carries a separate comparison identity.
Variants§
SameBuildVariant
Two graphs produced under one complete build variant.
RustCpp
One caller-selected Rust graph and one caller-selected C++ graph.
Trait Implementations§
Source§impl Clone for SemanticRuleScope
impl Clone for SemanticRuleScope
Source§fn clone(&self) -> SemanticRuleScope
fn clone(&self) -> SemanticRuleScope
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SemanticRuleScope
Source§impl Debug for SemanticRuleScope
impl Debug for SemanticRuleScope
impl Eq for SemanticRuleScope
Source§impl PartialEq for SemanticRuleScope
impl PartialEq for SemanticRuleScope
impl StructuralPartialEq for SemanticRuleScope
Auto Trait Implementations§
impl Freeze for SemanticRuleScope
impl RefUnwindSafe for SemanticRuleScope
impl Send for SemanticRuleScope
impl Sync for SemanticRuleScope
impl Unpin for SemanticRuleScope
impl UnsafeUnpin for SemanticRuleScope
impl UnwindSafe for SemanticRuleScope
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.