pub struct CoreUniversalVar<L: Language> {
pub kind: CoreKind<L>,
pub var_index: VarIndex,
}
Expand description
A universal variable is a dummy variable about which nothing is known except
that which we see in the environment. When we want to prove something
is true for all T
(∀T
), we replace T
with a universal variable.
Fields§
§kind: CoreKind<L>
§var_index: VarIndex
Trait Implementations§
Source§impl<L: Clone + Language> Clone for CoreUniversalVar<L>
impl<L: Clone + Language> Clone for CoreUniversalVar<L>
Source§fn clone(&self) -> CoreUniversalVar<L>
fn clone(&self) -> CoreUniversalVar<L>
Returns a copy 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<L: Language> Debug for CoreUniversalVar<L>
impl<L: Language> Debug for CoreUniversalVar<L>
Source§impl<L: Language> DowncastTo<CoreUniversalVar<L>> for CoreUniversalVar<L>
impl<L: Language> DowncastTo<CoreUniversalVar<L>> for CoreUniversalVar<L>
fn downcast_to(&self) -> Option<CoreUniversalVar<L>>
Source§impl<L: Language> DowncastTo<CoreUniversalVar<L>> for CoreVariable<L>
impl<L: Language> DowncastTo<CoreUniversalVar<L>> for CoreVariable<L>
fn downcast_to(&self) -> Option<CoreUniversalVar<L>>
Source§impl<L: Ord + Language> Ord for CoreUniversalVar<L>
impl<L: Ord + Language> Ord for CoreUniversalVar<L>
Source§fn cmp(&self, other: &CoreUniversalVar<L>) -> Ordering
fn cmp(&self, other: &CoreUniversalVar<L>) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<L: PartialOrd + Language> PartialOrd for CoreUniversalVar<L>
impl<L: PartialOrd + Language> PartialOrd for CoreUniversalVar<L>
Source§impl<L: Language> UpcastFrom<CoreUniversalVar<L>> for CoreUniversalVar<L>
impl<L: Language> UpcastFrom<CoreUniversalVar<L>> for CoreUniversalVar<L>
fn upcast_from(v: CoreUniversalVar<L>) -> CoreUniversalVar<L>
Source§impl<L: Language> UpcastFrom<CoreUniversalVar<L>> for CoreVariable<L>
impl<L: Language> UpcastFrom<CoreUniversalVar<L>> for CoreVariable<L>
fn upcast_from(v: CoreUniversalVar<L>) -> CoreVariable<L>
impl<L: Copy + Language> Copy for CoreUniversalVar<L>
impl<L: Eq + Language> Eq for CoreUniversalVar<L>
impl<L: Language> StructuralPartialEq for CoreUniversalVar<L>
Auto Trait Implementations§
impl<L> Freeze for CoreUniversalVar<L>
impl<L> RefUnwindSafe for CoreUniversalVar<L>
impl<L> Send for CoreUniversalVar<L>
impl<L> Sync for CoreUniversalVar<L>
impl<L> Unpin for CoreUniversalVar<L>
impl<L> UnwindSafe for CoreUniversalVar<L>
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