Enum moore_svlog::typeck::TypeContext [−][src]
pub enum TypeContext<'a> {
Type(&'a UnpackedType<'a>),
Bool,
}
Expand description
A type context imposed by a node’s surroundings.
This is used to treat things such as assignment-like contexts.
Variants
Type(&'a UnpackedType<'a>)
The surroundings impose a regular type.
Tuple Fields of Type
0: &'a UnpackedType<'a>
The surroundings ask for implicit boolean mapping (not truncation).
Implementations
Trait Implementations
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl<'a> !RefUnwindSafe for TypeContext<'a>
impl<'a> Send for TypeContext<'a>
impl<'a> Sync for TypeContext<'a>
impl<'a> Unpin for TypeContext<'a>
impl<'a> !UnwindSafe for TypeContext<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more