pub enum BaseTyV_ {
Object(ObType),
Morphism(MorType, BaseTmV, BaseTmV),
Record(RecordV),
Sing(BaseTyV, BaseTmV),
Id(BaseTyV, BaseTmV, BaseTmV),
Meta(MetaVar),
}Expand description
Inner enum for BaseTyV.
Variants§
Object(ObType)
Type constructor for object types, also see BaseTyS_::Object.
Morphism(MorType, BaseTmV, BaseTmV)
Type constructor for morphism types, also see BaseTyS_::Morphism.
Record(RecordV)
Type constructor for specialized record types.
This is the target of both BaseTyS_::Specialize and BaseTyS_::Record.
Specifically, BaseTyS_::Record evaluates to BaseTyV_::Record(r) with
r.specializations = Dtry::empty(), and then BaseTyS_::Specialize(ty, d) will
add the specializations in d to the evaluation of ty (which must
evaluate to a value of form BaseTyV_::Record(_)).
Sing(BaseTyV, BaseTmV)
Type constructor for singleton types, also see BaseTyS_::Sing.
Id(BaseTyV, BaseTmV, BaseTmV)
Type constructor for identity types, also see BaseTyS_::Id.
Meta(MetaVar)
A metavariable, also see BaseTyS_::Meta.
Auto Trait Implementations§
impl Freeze for BaseTyV_
impl RefUnwindSafe for BaseTyV_
impl !Send for BaseTyV_
impl !Sync for BaseTyV_
impl Unpin for BaseTyV_
impl UnwindSafe for BaseTyV_
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<T> Pointable for T
impl<T> Pointable for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.