pub struct ShowRule {
pub lemma_type: LemmaType,
pub path: Vec<PathSegment>,
pub branches: Vec<ShowBranch>,
pub depends_on_rules: Vec<RulePath>,
}Expand description
Local rule on Show: result type, authored branches, stored topo deps.
Fields§
§lemma_type: LemmaType§path: Vec<PathSegment>Import hops to this rule ([] = this spec). Catalog entries are always empty.
branches: Vec<ShowBranch>§depends_on_rules: Vec<RulePath>Other Show.rules keys this rule depends on (local catalog closure). Always present. Branch Rule leaves may name reachable imports outside this set.
Trait Implementations§
impl Eq for ShowRule
Source§impl From<&ShowRule> for ShowRule
impl From<&ShowRule> for ShowRule
Source§fn from(rule: &DomainShowRule) -> Self
fn from(rule: &DomainShowRule) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for ShowRule
Auto Trait Implementations§
impl Forget for ShowRule
impl Freeze for ShowRulewhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<u32>: Freeze,
PhantomData<MeasureUnit>: Freeze,
PhantomData<MeasureTrait>: Freeze,
*const LeafNode<Dimension, i32> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(Dimension, i32)>>: Freeze,
PhantomData<RatioUnit>: Freeze,
*const ArcInner<LemmaType> is !null: Freeze,
PhantomData<ArcInner<LemmaType>>: Freeze,
PhantomData<KeyField>: Freeze,
PhantomData<OptionValue>: Freeze,
PhantomData<PathSegment>: Freeze,
PhantomData<ShowBranch>: Freeze,
PhantomData<RulePath>: Freeze,
impl Move for ShowRule
impl RefUnwindSafe for ShowRule
impl Send for ShowRulewhere
RawVecInner: Send,
Arc<str>: Send,
NodeRef<Owned, Dimension, i32, LeafOrInternal>: Send,
BoxRaw<(Dimension, i32)>: Send,
Arc<LemmaType>: Send,
BoxRaw<TypedLiteral>: Send,
Arc<RowInstance>: Send,
BoxRaw<InstanceKey>: Send,
Arc<[TypedLiteral]>: Send,
Arc<RowStore>: Send,
Arc<KeyIndex>: Send,
Arc<InstanceFactors>: Send,
BoxRaw<ShowExpression>: Send,
impl Sync for ShowRulewhere
RawVecInner: Sync,
Arc<str>: Sync,
NodeRef<Owned, Dimension, i32, LeafOrInternal>: Sync,
BoxRaw<(Dimension, i32)>: Sync,
Arc<LemmaType>: Sync,
BoxRaw<TypedLiteral>: Sync,
Arc<RowInstance>: Sync,
BoxRaw<InstanceKey>: Sync,
Arc<[TypedLiteral]>: Sync,
Arc<RowStore>: Sync,
Arc<KeyIndex>: Sync,
Arc<InstanceFactors>: Sync,
BoxRaw<ShowExpression>: Sync,
impl Unpin for ShowRulewhere
*const u8 is !null: Unpin,
Arc<str>: Unpin,
*const LeafNode<Dimension, i32> is !null: Unpin,
Box<(Dimension, i32)>: Unpin,
Arc<LemmaType>: Unpin,
Box<TypedLiteral>: Unpin,
Arc<RowInstance>: Unpin,
Box<InstanceKey>: Unpin,
Arc<[TypedLiteral]>: Unpin,
Arc<RowStore>: Unpin,
Arc<KeyIndex>: Unpin,
Arc<InstanceFactors>: Unpin,
Box<ShowExpression>: Unpin,
impl UnsafeUnpin for ShowRulewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<u32>: UnsafeUnpin,
PhantomData<MeasureUnit>: UnsafeUnpin,
PhantomData<MeasureTrait>: UnsafeUnpin,
*const LeafNode<Dimension, i32> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(Dimension, i32)>>: UnsafeUnpin,
PhantomData<RatioUnit>: UnsafeUnpin,
*const ArcInner<LemmaType> is !null: UnsafeUnpin,
PhantomData<ArcInner<LemmaType>>: UnsafeUnpin,
PhantomData<KeyField>: UnsafeUnpin,
PhantomData<OptionValue>: UnsafeUnpin,
PhantomData<PathSegment>: UnsafeUnpin,
PhantomData<ShowBranch>: UnsafeUnpin,
PhantomData<RulePath>: UnsafeUnpin,
impl UnwindSafe for ShowRulewhere
RawVecInner: UnwindSafe,
Arc<str>: UnwindSafe,
BTreeMap<Dimension, i32>: UnwindSafe,
Arc<LemmaType>: UnwindSafe,
BoxRaw<TypedLiteral>: UnwindSafe,
Arc<RowInstance>: UnwindSafe,
BoxRaw<InstanceKey>: UnwindSafe,
Arc<[TypedLiteral]>: UnwindSafe,
Arc<RowStore>: UnwindSafe,
Arc<KeyIndex>: UnwindSafe,
Arc<InstanceFactors>: UnwindSafe,
BoxRaw<ShowExpression>: UnwindSafe,
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.